Borderou de evaluare (job #2917644)

Utilizator chiriacandrei25Chiriac Andrei chiriacandrei25 Data 6 august 2022 13:56:28
Problema Antivirus Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void computeCost(int, bool, bool)': main.cpp:26:28: error: 'INT_MAX' was not declared in this scope 26 | cost[ind][x] = INT_MAX; | ^~~~~~~ main.cpp:2:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? 1 | #include <fstream> +++ |+#include <climits> 2 | main.cpp: In function 'int main()': main.cpp:72:24: error: 'INT_MAX' was not declared in this scope 72 | dp[0][j] = INT_MAX; | ^~~~~~~ main.cpp:72:24: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? main.cpp:77:28: error: 'INT_MAX' was not declared in this scope 77 | dp[i][j] = INT_MAX; | ^~~~~~~ main.cpp:77:28: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? Non zero exit status: 1

Ceva nu functioneaza?