Borderou de evaluare (job #2042159)

Utilizator lulian23Tiganescu Iulian lulian23 Data 18 octombrie 2017 09:42:28
Problema Roboti3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:18: warning: missing terminating " character [enabled by default] ofstream cout("roboti3.out); ^ user.cpp:8:4: error: missing terminating " character ofstream cout("roboti3.out); ^ user.cpp: In function ‘int main()’: user.cpp:10:11: error: ‘n’ has not been declared int t, n; ^ user.cpp:10:12: error: expected ‘)’ before ‘;’ token int t, n; ^ user.cpp:12:11: error: ‘t’ was not declared in this scope cin >> t >> n; ^ user.cpp:12:16: error: ‘n’ was not declared in this scope cin >> t >> n; ^ user.cpp:18:14: error: ‘v’ was not declared in this scope cin >> v[ i ]; ^ user.cpp:28:13: error: ‘v’ was not declared in this scope if (v[ i ] < v[ i + 1 ]){ ^ user.cpp:42:15: error: invalid operands of types ‘std::ofstream(int, int) {aka std::basic_ofstream<char>(int, int)}’ and ‘int’ to binary ‘operator<<’ cout << lMax; ^

Ceva nu functioneaza?