Borderou de evaluare (job #3236176)

Utilizator LucaMuresanMuresan Luca Valentin LucaMuresan Data 26 iunie 2024 15:51:21
Problema Invcs Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int solve(int)': main.cpp:10:19: error: 'UINT_MAX' was not declared in this scope 10 | if (dp[mask] != UINT_MAX) { | ^~~~~~~~ main.cpp:2:1: note: 'UINT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? 1 | #include <iostream> +++ |+#include <climits> 2 | main.cpp: In function 'int main()': main.cpp:40:16: error: 'UINT_MAX' was not declared in this scope 40 | dp[mask] = UINT_MAX; | ^~~~~~~~ main.cpp:40:16: note: 'UINT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? Non zero exit status: 1

Ceva nu functioneaza?