Borderou de evaluare (job #3152059)
Utilizator | Data | 23 septembrie 2023 17:30:08 | |
---|---|---|---|
Problema | Time Travel Gossip | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:35:26: error: 'INT_MAX' was not declared in this scope
35 | int st = INT_MAX, dr = INT_MAX;
| ^~~~~~~
main.cpp:6:8: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
5 | #include <queue>
+++ |+#include <climits>
6 | using namespace std;
main.cpp:39:54: error: 'dr' was not declared in this scope
39 | else rez[v[i].ind] = dr;
| ^~
main.cpp:43:41: error: 'dr' was not declared in this scope
43 | dr = v[i].dr;
| ^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !