Borderou de evaluare (job #3364513)
| Utilizator | Data | 4 septembrie 2026 16:43:53 | |
|---|---|---|---|
| Problema | Cubeon | Status | done |
| Runda | Arhiva ICPC | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void DC(int, int, int, int, int)':
main.cpp:20:35: error: 'LLONG_MAX' was not declared in this scope
20 | pair<long long, int> best = { LLONG_MAX, -1 };
| ^~~~~~~~~
main.cpp:5:1: note: 'LLONG_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
4 | #include <algorithm>
+++ |+#include <climits>
5 | #define inf 1e9+1
main.cpp:20:49: error: could not convert '{<expression error>, -1}' from '<brace-enclosed initializer list>' to 'std::pair<long long int, int>'
20 | pair<long long, int> best = { LLONG_MAX, -1 };
| ^
| |
| <brace-enclosed initializer list>
main.cpp: In function 'int main()':
main.cpp:59:13: warning: unused variable 'lastVal' [-Wunused-variable]
59 | int lastVal = 0;
| ^~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
