Borderou de evaluare (job #817856)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Carti | Compilator | cpp-32 |
Rundă | pre ONI cl a 9-a | Status | evaluat |
Dată | 3 apr. 2025 10:46:54 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:9:5: error: 'cin' was not declared in this scope
9 | cin>>n>>m;
| ^~~
main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
1 | #include <fstream>
+++ |+#include <iostream>
2 |