Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error de compilación
main.cpp:30:5: error: expected '}' ^ main.cpp:6:11: note: to match this '{' int main(){ ^ 1 error generated. |
||
#2 |
Error de compilación
main.cpp:30:5: error: expected '}' ^ main.cpp:6:11: note: to match this '{' int main(){ ^ 1 error generated. |
||
#3 |
Error de compilación
main.cpp:30:5: error: expected '}' ^ main.cpp:6:11: note: to match this '{' int main(){ ^ 1 error generated. |
||
#4 |
Error de compilación
main.cpp:30:5: error: expected '}' ^ main.cpp:6:11: note: to match this '{' int main(){ ^ 1 error generated. |
||
#5 |
Error de compilación
main.cpp:30:5: error: expected '}' ^ main.cpp:6:11: note: to match this '{' int main(){ ^ 1 error generated. |
||
#6 |
Error de compilación
main.cpp:30:5: error: expected '}' ^ main.cpp:6:11: note: to match this '{' int main(){ ^ 1 error generated. |
||
#7 |
Error de compilación
main.cpp:30:5: error: expected '}' ^ main.cpp:6:11: note: to match this '{' int main(){ ^ 1 error generated. |
||
#8 |
Error de compilación
main.cpp:30:5: error: expected '}' ^ main.cpp:6:11: note: to match this '{' int main(){ ^ 1 error generated. |
||
#9 |
Error de compilación
main.cpp:30:5: error: expected '}' ^ main.cpp:6:11: note: to match this '{' int main(){ ^ 1 error generated. |
||
#10 |
Error de compilación
main.cpp:30:5: error: expected '}' ^ main.cpp:6:11: note: to match this '{' int main(){ ^ 1 error generated. |
#include <iostream> #include <vector> using namespace std; void horizontes(int length,vector<int> a,vector<int> &soluc); int main(){ int numCases; cin >> numCases; for(int i=0;i<numCases;++i){ int length; cin >> length; vector<int> a(length); vector<int> soluc(length); for(int j=0;j<length;j++){ cin >> a[j]; } horizontes(length,a,soluc); //printar cout << "Case #"<< i + 1 << ": "; for(int j=0;j<length;j++){ cout << soluc[j] << " "; } cout << "\n"; }