Borderou de evaluare (job #3166193)
Utilizator | Data | 7 noiembrie 2023 20:55:20 | |
---|---|---|---|
Problema | Camionas | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:1: error: 'ifstream' does not name a type
6 | ifstream cin("camionas.in");
| ^~~~~~~~
main.cpp:7:1: error: 'ofstream' does not name a type
7 | ofstream cout("camionas.out");
| ^~~~~~~~
main.cpp: In function 'void rez()':
main.cpp:46:5: error: 'cout' was not declared in this scope
46 | cout<<dist[n];
| ^~~~
main.cpp:5:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
4 | #include <utility>
+++ |+#include <iostream>
5 | #define pb push_back
main.cpp: In function 'int main()':
main.cpp:52:5: error: 'cin' was not declared in this scope
52 | cin>>n>>m>>g;
| ^~~
main.cpp:52:5: note: 'std::cin' 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 !