Borderou de evaluare (job #3367890)
| Utilizator | Data | 11 octombrie 2026 19:04:05 | |
|---|---|---|---|
| Problema | Patrol | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void calc()':
main.cpp:29:13: warning: unused variable 'len' [-Wunused-variable]
29 | int len = v.size();
| ^~~
main.cpp: In function 'void dijkstra()':
main.cpp:52:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | for( int i = 0; i < adj[x].size(); i++ ){
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:68:5: error: 'cin' was not declared in this scope
68 | cin >> n >> m >> p;
| ^~~
main.cpp:4:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
3 | #include <queue>
+++ |+#include <iostream>
4 |
main.cpp:94:5: error: 'cout' was not declared in this scope
94 | cout << ans;
| ^~~~
main.cpp:94: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 !
