Borderou de evaluare (job #717966)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Blis (clasele 11-12) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 4 mai 2023 16:27:30 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:54:17: error: 'INT_MAX' was not declared in this scope
54 | dp[i] = INT_MAX;
| ^~~~~~~
main.cpp:7:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
6 | #include <queue>
+++ |+#include <climits>
7 |
main.cpp:66:18: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
66 | for(auto [len, val] : updates[i])
| ^
main.cpp:57:9: warning: unused variable 'poz' [-Wunused-variable]
57 | int poz = 0;
| ^~~