Borderou de evaluare (job #3255312)
Utilizator | Data | 10 noiembrie 2024 12:08:52 | |
---|---|---|---|
Problema | Sobo | 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:26:44: error: 'INT_MAX' was not declared in this scope
26 | for(int i = 0; i <= maxl; i++) dp[i] = INT_MAX;
| ^~~~~~~
main.cpp:4:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
3 | #include <vector>
+++ |+#include <climits>
4 | //#include <bits/stdc++.h>
main.cpp:30:21: error: 'INT_MAX' was not declared in this scope
30 | if(dp[i] == INT_MAX) continue; // nu am ajuns aici nicicum
| ^~~~~~~
main.cpp:30:21: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !