Borderou de evaluare (job #3301776)
| Utilizator | Data | 29 iunie 2025 22:57:38 | |
|---|---|---|---|
| Problema | Lacusta | 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:14:23: error: 'INT_MAX' was not declared in this scope
14 | dp[i][j]=INT_MAX;
| ^~~~~~~
main.cpp:3:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
2 | #include <fstream>
+++ |+#include <climits>
3 | using namespace std;
main.cpp:21:34: error: 'INT_MAX' was not declared in this scope
21 | if(p!=j && dp[i-1][p]!=INT_MAX) dp[i][j]=min(dp[i][j],dp[i-1][p]+a[i-1][j]+a[i][j]);
| ^~~~~~~
main.cpp:21:34: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
main.cpp:22:13: error: 'INT_MAX' was not declared in this scope
22 | int rez=INT_MAX;
| ^~~~~~~
main.cpp:22:13: 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 !
