Borderou de evaluare (job #2340277)

Utilizator Alex1802Fantana Alex Alex1802 Data 10 februarie 2019 10:43:28
Problema Insule Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:9:33: error: 'INT_MAX' was not declared in this scope int n,m,v[100][100],nr,nb,ng,lg=INT_MAX,next_x,next_y; ^~~~~~~ main.cpp: In function 'void Lee()': main.cpp:35:13: error: 'next_x' was not declared in this scope next_x=x+di[k]; ^~~~~~ main.cpp:36:13: error: 'next_y' was not declared in this scope next_y=y+dj[k]; ^~~~~~ main.cpp:37:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(next_x >= 0 && next_y >= 0 && next_x < n && next_y < m) ^ Non zero exit status: 1

Ceva nu functioneaza?