Borderou de evaluare (job #796747)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Benzinării (clasele 9-10) | Compilator | cpp-32 |
| Rundă | simulare_casi_8 | Status | evaluat |
| Dată | 22 nov. 2024 19:08:52 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:14:34: error: 'cin' was not declared in this scope
14 | ios::sync_with_stdio(false); cin.tie(0); cout.tie(0);
| ^~~
main.cpp:8:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
7 | #include <deque>
+++ |+#include <iostream>
8 | using namespace std;
main.cpp:14:46: error: 'cout' was not declared in this scope
14 | ios::sync_with_stdio(false); cin.tie(0); cout.tie(0);
| ^~~~
main.cpp:14:46: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?