Borderou de evaluare (job #813560)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Flota | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 10 mar. 2025 10:43:49 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:69:5: error: 'cin' was not declared in this scope
69 | cin.tie(nullptr);
| ^~~
main.cpp:4:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
3 | #include <vector>
+++ |+#include <iostream>
4 |
main.cpp:70:5: error: 'cout' was not declared in this scope
70 | cout.tie(nullptr);
| ^~~~
main.cpp:70:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'