Borderou de evaluare (job #2984918)
Utilizator | Data | 25 februarie 2023 10:21:58 | |
---|---|---|---|
Problema | Războiul lui Vlăduț | Status | done |
Runda | arhiva-utcn | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:17:15: error: 'INT_MIN' was not declared in this scope
17 | int maxim=INT_MIN;
| ^~~~~~~
main.cpp:4:1: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
3 | #include <vector>
+++ |+#include <climits>
4 |
main.cpp:28:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
28 | for(int i=1;i<=n;++i)
| ^~~
main.cpp:34:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
34 | int ans = -2e9;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !