Borderou de evaluare (job #837490)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Portofel 2 (clasa a 6-a) | Compilator | cpp |
| Rundă | Tema 2 Clasa a 6-a | Status | evaluat |
| Dată | 17 oct. 2025 11:07:46 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void solve()':
main.cpp:7:5: error: 'ios' has not been declared
7 | ios::sync_with_stdio(false);
| ^~~
main.cpp:8:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
8 | cin.tie(nullptr);
| ^~~
| std::cin
In file included from main.cpp:1:
/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/iostream:62:18: note: 'std::cin' declared here
62 | extern istream cin; ///< Linked to standard input
| ^~~