Borderou de evaluare (job #3328223)
| Utilizator | Data | 7 decembrie 2025 11:16:11 | |
|---|---|---|---|
| Problema | Johnie | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void topo(int)':
main.cpp:31:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | while (poznod[nod]<adj[nod].size()) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~
main.cpp: In function 'void solve()':
main.cpp:92:5: error: 'cout' was not declared in this scope
92 | cout<<(cntt+1)<<endl;
| ^~~~
main.cpp:9:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
8 | #include <math.h>
+++ |+#include <iostream>
9 | using namespace std;
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
