Borderou de evaluare (job #663912)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Problema okay cu Bixi | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 25 sept. 2022 13:54:43 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:20:16: error: 'INT_MAX' was not declared in this scope
20 | s[i] = INT_MAX;
| ^~~~~~~
main.cpp:3:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
2 | #include <queue>
+++ |+#include <climits>
3 |
main.cpp:38:27: warning: statement has no effect [-Wunused-value]
38 | fc[i] == true;
| ~~~~~~^~~~~~~
main.cpp:51:27: warning: statement has no effect [-Wunused-value]
51 | fc[i] == true;
| ~~~~~~^~~~~~~
main.cpp:56:16: error: 'INT_MAX' was not declared in this scope
56 | if(s[N] == INT_MAX)
| ^~~~~~~
main.cpp:56:16: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?