Borderou de evaluare (job #762596)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | N numere | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 15 feb. 2024 17:48:54 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void solve()':
main.cpp:32:12: error: 'cout' was not declared in this scope
32 | #define DA cout << "DA\n"
| ^~~~
main.cpp:74:25: note: in expansion of macro 'DA'
74 | DA;
| ^~
main.cpp:5:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
4 | #include <unordered_set>
+++ |+#include <iostream>
5 |
main.cpp:33:12: error: 'cout' was not declared in this scope
33 | #define NU cout << "NU\n"
| ^~~~
main.cpp:76:25: note: in expansion of macro 'NU'
76 | NU;
| ^~
main.cpp:33:12: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
33 | #define NU cout << "NU\n"
| ^~~~
main.cpp:76:25: note: in expansion of macro 'NU'
76 | NU;
| ^~
main.cpp:33:12: error: 'cout' was not declared in this scope
33 | #define NU cout << "NU\n"
| ^~~~
main.cpp:79:17: note: in expansion of macro 'NU'
79 | NU;
| ^~
main.cpp:33:12: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
33 | #define NU cout << "NU\n"
| ^~~~
main.cpp:79:17: note: in expansion of macro 'NU'
79 | NU;
| ^~