Borderou de evaluare (job #3363068)
| Utilizator | Data | 14 august 2026 09:17:26 | |
|---|---|---|---|
| Problema | ChatNoir | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int32_t main()':
main.cpp:12:5: error: 'cin' was not declared in this scope
12 | cin>>t;
| ^~~
main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <fstream>
+++ |+#include <iostream>
2 | using namespace std;
main.cpp:19:22: error: 'cout' was not declared in this scope
19 | if (minim<7) cout<<"NU\n";
| ^~~~
main.cpp:19:22: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:20:14: error: 'cout' was not declared in this scope
20 | else cout<<"DA\n";
| ^~~~
main.cpp:20:14: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
