Borderou de evaluare (job #3136303)

Utilizator speedy_gonzalesDuca Ovidiu speedy_gonzales Data 5 iunie 2023 21:42:19
Problema Calatorie interplanetara 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:43:35: error: 'LONG_MAX' was not declared in this scope 43 | totalCost[i][j] = LONG_MAX; | ^~~~~~~~ main.cpp:16:1: note: 'LONG_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? 15 | #include <random> +++ |+#include <climits> 16 | main.cpp:51:29: error: 'LONG_MAX' was not declared in this scope 51 | long long minCost = LONG_MAX; | ^~~~~~~~ main.cpp:51:29: note: 'LONG_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? Non zero exit status: 1

Ceva nu functioneaza?