Borderou de evaluare (job #790339)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Poziții (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 17 oct. 2024 19:46:10 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:20:13: error: 'cin' was not declared in this scope
20 | cin>>x;
| ^~~
main.cpp:10:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
9 | #include <fstream>
+++ |+#include <iostream>
10 | using namespace std;