Borderou de evaluare (job #797357)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Gadfadăr (clasa 6-7) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 23 nov. 2024 20:49:40 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:53:27: error: expected ';' at end of input
53 | for (const string& nam
| ^
| ;
main.cpp:53:27: error: expected primary-expression at end of input
main.cpp:53:27: error: expected ';' at end of input
53 | for (const string& nam
| ^
| ;
main.cpp:53:27: error: expected primary-expression at end of input
main.cpp:53:27: error: expected ')' at end of input
53 | for (const string& nam
| ~ ^
| )
main.cpp:53:27: error: expected statement at end of input
main.cpp:53:24: warning: unused variable 'nam' [-Wunused-variable]
53 | for (const string& nam
| ^~~
main.cpp:53:27: error: expected '}' at end of input
53 | for (const string& nam
| ^
main.cpp:18:12: note: to match this '{'
18 | int main() {
| ^