Borderou de evaluare (job #2944279)
Utilizator | Data | 22 noiembrie 2022 11:48:04 | |
---|---|---|---|
Problema | Panamasum | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:1: error: 'ifstream' does not name a type
9 | ifstream cin("panamasum.in");
| ^~~~~~~~
main.cpp:10:1: error: 'ofstream' does not name a type
10 | ofstream cout("panamasum.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:166:2: error: 'cin' was not declared in this scope
166 | cin.tie(0); cout.tie(0);
| ^~~
main.cpp:6:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
5 | #include <cassert>
+++ |+#include <iostream>
6 |
main.cpp:166:14: error: 'cout' was not declared in this scope
166 | cin.tie(0); cout.tie(0);
| ^~~~
main.cpp:166: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 !