Borderou de evaluare (job #601539)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Speciale (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 6 iul. 2021 11:23:20 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:10:5: error: 'cin' was not declared in this scope
10 | cin >> p;
| ^~~
main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <fstream>
+++ |+#include <iostream>
2 |
main.cpp:34:9: error: 'cout' was not declared in this scope
34 | cout << q;
| ^~~~
main.cpp:34:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:58:13: error: 'cout' was not declared in this scope
58 | cout << ras2;
| ^~~~
main.cpp:58:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:91:45: error: 'cout' was not declared in this scope
91 | cout << ras2;
| ^~~~
main.cpp:91:45: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:102:45: error: 'cout' was not declared in this scope
102 | cout << ras2;
| ^~~~
main.cpp:102:45: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:113:41: error: 'cout' was not declared in this scope
113 | cout << ras2;
| ^~~~
main.cpp:113:41: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:124:37: error: 'cout' was not declared in this scope
124 | cout << ras2;
| ^~~~
main.cpp:124:37: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:135:33: error: 'cout' was not declared in this scope
135 | cout << ras2;
| ^~~~
main.cpp:135:33: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:146:29: error: 'cout' was not declared in this scope
146 | cout << ras2;
| ^~~~
main.cpp:146:29: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:157:25: error: 'cout' was not declared in this scope
157 | cout << ras2;
| ^~~~
main.cpp:157:25: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:168:21: error: 'cout' was not declared in this scope
168 | cout << ras2;
| ^~~~
main.cpp:168:21: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:201:45: error: 'cout' was not declared in this scope
201 | cout << ras2;