Borderou de evaluare (job #3231882)
Utilizator | Data | 28 mai 2024 00:05:07 | |
---|---|---|---|
Problema | Pikachu | 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:28:26: error: 'LLONG_MAX' was not declared in this scope
28 | long long min_cost = LLONG_MAX;
| ^~~~~~~~~
main.cpp:5:1: note: 'LLONG_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
4 | #include <limits>
+++ |+#include <climits>
5 |
main.cpp:33:27: warning: comparison of integer expressions of different signedness: 'std::multiset<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
33 | if (window.size() > K) {
| ~~~~~~~~~~~~~~^~~
main.cpp:36:27: warning: comparison of integer expressions of different signedness: 'std::multiset<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
36 | if (window.size() == K) {
| ~~~~~~~~~~~~~~^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !