Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error de compilación
main.cpp:11:13: error: expected expression if(aux=>arr[i]){ ^ 1 error generated. |
||
#2 |
Error de compilación
main.cpp:11:13: error: expected expression if(aux=>arr[i]){ ^ 1 error generated. |
||
#3 |
Error de compilación
main.cpp:11:13: error: expected expression if(aux=>arr[i]){ ^ 1 error generated. |
||
#4 |
Error de compilación
main.cpp:11:13: error: expected expression if(aux=>arr[i]){ ^ 1 error generated. |
||
#5 |
Error de compilación
main.cpp:11:13: error: expected expression if(aux=>arr[i]){ ^ 1 error generated. |
||
#6 |
Error de compilación
main.cpp:11:13: error: expected expression if(aux=>arr[i]){ ^ 1 error generated. |
||
#7 |
Error de compilación
main.cpp:11:13: error: expected expression if(aux=>arr[i]){ ^ 1 error generated. |
||
#8 |
Error de compilación
main.cpp:11:13: error: expected expression if(aux=>arr[i]){ ^ 1 error generated. |
||
#9 |
Error de compilación
main.cpp:11:13: error: expected expression if(aux=>arr[i]){ ^ 1 error generated. |
||
#10 |
Error de compilación
main.cpp:11:13: error: expected expression if(aux=>arr[i]){ ^ 1 error generated. |
||
#11 |
Error de compilación
main.cpp:11:13: error: expected expression if(aux=>arr[i]){ ^ 1 error generated. |
||
#12 |
Error de compilación
main.cpp:11:13: error: expected expression if(aux=>arr[i]){ ^ 1 error generated. |
#include<iostream> using namespace std; int main(){ int n; cin>>n; int arr[n]; int aux = -1; for(int i=0;i<n;i++){ cin>>arr[i]; if(aux=>arr[i]){ cout<<"Desordenado"<<endl; return 0; } aux = arr[i]; } cout<<"Ordenado"<<endl; return 0; }