Borderou de evaluare (job #793434)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cangur (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 7 nov. 2024 18:04:29 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:21:9: error: 'cin' was not declared in this scope
21 | cin>>n;
| ^~~
main.cpp:10:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
9 | #include <fstream>
+++ |+#include <iostream>
10 |
main.cpp:36:9: error: 'cout' was not declared in this scope
36 | cout<<S;
| ^~~~
main.cpp:36:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?