Borderou de evaluare (job #3361972)
| Utilizator | Data | 31 iulie 2026 10:57:59 | |
|---|---|---|---|
| Problema | Ciclu Eulerian | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:45:13: error: 'cout' was not declared in this scope
45 | cout << -1;
| ^~~~
main.cpp:3:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
2 | #include <vector>
+++ |+#include <iostream>
3 | using namespace std;
main.cpp:50:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | for(int i =0; i < ciclu.size(); i++){
| ~~^~~~~~~~~~~~~~
main.cpp:51:9: error: 'cout' was not declared in this scope
51 | cout << ciclu[i] << ' ';
| ^~~~
main.cpp:51:9: 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 !
