Borderou de evaluare (job #3325239)
| Utilizator | Data | 25 noiembrie 2025 01:21:01 | |
|---|---|---|---|
| Problema | Arbore partial de cost minim | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:126:1: error: 'ifstream' does not name a type
126 | ifstream cin("apm.in");
| ^~~~~~~~
main.cpp:127:1: error: 'ofstream' does not name a type
127 | ofstream cout("apm.out");
| ^~~~~~~~
main.cpp: In function 'void citire()':
main.cpp:151:5: error: 'cin' was not declared in this scope
151 | cin>>n>>m;
| ^~~
main.cpp:125:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
124 | #include <climits>
+++ |+#include <iostream>
125 |
main.cpp: In function 'void afisare()':
main.cpp:212:5: error: 'cout' was not declared in this scope
212 | cout<<cost_total<<endl;
| ^~~~
main.cpp:212:5: 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 !
