Borderou de evaluare (job #796309)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Creioane (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 20 nov. 2024 20:20:45 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:13:9: error: 'cin' was not declared in this scope
13 | cin >> c[i] >> vid;
| ^~~
main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <fstream>
+++ |+#include <iostream>
2 |