Borderou de evaluare (job #1236697)

Utilizator gbibBacotiu Gabi gbib Data 2 octombrie 2014 15:19:13
Problema AI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:7:43: error: ‘INT_MAX’ was not declared in this scope int n,m1,m2,a,b,tx,ty,s1x,s1y,s2x,s2y,mn1=INT_MAX,mn2=INT_MAX,mn3=INT_MAX,mn4=INT_MAX; ^ user.cpp: In function ‘int main()’: user.cpp:41:18: error: ‘mn4’ was not declared in this scope out<<min(max(mn1,mn4),max(mn2,mn3))<<'\n'; ^ user.cpp:41:27: error: ‘mn2’ was not declared in this scope out<<min(max(mn1,mn4),max(mn2,mn3))<<'\n'; ^ user.cpp:41:31: error: ‘mn3’ was not declared in this scope out<<min(max(mn1,mn4),max(mn2,mn3))<<'\n'; ^ user.cpp: In function ‘void lee(int, int, int (*)[1005], int)’: user.cpp:71:24: error: ‘mn3’ was not declared in this scope mn3=o[a][b]; ^ user.cpp:77:25: error: ‘mn2’ was not declared in this scope mn2=o[a][b]; ^ user.cpp:79:25: error: ‘mn4’ was not declared in this scope mn4=o[a][b]; ^ user.cpp:47:23: warning: unused variable ‘j’ [-Wunused-variable] int p=0,u=0,X,Y,i,j,oks1=0,oks2=0; ^

Ceva nu functioneaza?