Borderou de evaluare (job #800893)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Paranteze | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 25 dec. 2024 12:02:30 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:2:81: error: expected ')' before ';' token
2 | using namespace std; ifstream gin("paranteze.in"); ofstream gout("paranteze.out";)
| ~ ^
| )
main.cpp:2:82: error: expected unqualified-id before ')' token
2 | using namespace std; ifstream gin("paranteze.in"); ofstream gout("paranteze.out";)
| ^
main.cpp: In function 'void back(int, std::vector<char>)':
main.cpp:25:26: warning: comparison of integer expressions of different signedness: 'std::vector<char>::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare]
25 | if(raspuns.size()==2*n)
| ~~~~~~~~~~~~~~^~~~~
main.cpp:29:25: error: 'afiseaza' was not declared in this scope
29 | afiseaza(raspuns);
| ^~~~~~~~