Borderou de evaluare (job #3188802)

Utilizator willOcanaru Mihai will Data 3 ianuarie 2024 20:57:53
Problema Senat Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:14:17: error: 'INT_MAX' was not declared in this scope 14 | const int INF = INT_MAX; | ^~~~~~~ main.cpp:6:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? 5 | #include <cstring> +++ |+#include <climits> 6 | main.cpp: In function 'void solve_senat(const char*, const char*)': main.cpp:70:9: error: 'count' was not declared in this scope 70 | if (count(committee_presidents.begin(), committee_presidents.end(), 0) > 0) { | ^~~~~ Non zero exit status: 1

Ceva nu functioneaza?