Borderou de evaluare (job #3231881)

Utilizator vladvoicux64Voicu Ioan Vladut vladvoicux64 Data 28 mai 2024 00:04:03
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:27:26: error: 'LLONG_MAX' was not declared in this scope 27 | long long min_cost = LLONG_MAX; | ^~~~~~~~~ main.cpp:4:1: note: 'LLONG_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? 3 | #include <vector> +++ |+#include <climits> 4 | main.cpp:32:27: warning: comparison of integer expressions of different signedness: 'std::multiset<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 32 | if (window.size() > K) { | ~~~~~~~~~~~~~~^~~ main.cpp:35:27: warning: comparison of integer expressions of different signedness: 'std::multiset<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 35 | if (window.size() == K) { | ~~~~~~~~~~~~~~^~~~ Non zero exit status: 1

Ceva nu functioneaza?