Borderou de evaluare (job #2171401)

Utilizator ioanavasilescuIoana Vasilescu ioanavasilescu Data 15 martie 2018 12:14:36
Problema AI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 55

Raport evaluator

Compilare: user.cpp: In function ‘void apara(int, int, int&, int&)’: user.cpp:62:30: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(y>=s2 && y<t2 || y<=s2 && y>t2) ^ user.cpp:67:30: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(x>=s1 && x<t1 || x<=s1 && x>t1) ^ user.cpp:70:30: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] else if(x>s1 && x<t1 || x<s1 && x>t1) ^ user.cpp:71:29: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(y>s2 && y<t2 || y<s2 && y>t2) ^ user.cpp:82:30: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(y>=s4 && y<t2 || y<=s4 && y>t2) ^ user.cpp:87:30: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(x>=s3 && x<t1 || x<=s3 && x>t1) ^ user.cpp:90:30: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] else if(x>s3 && x<t1 || x<s3 && x>t1) ^ user.cpp:91:29: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(y>s4 && y<t2 || y<s4 && y>t2) ^ user.cpp: In function ‘void ziduri()’: user.cpp:24:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&k); ^ user.cpp:28:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d %d",&x,&y); ^ user.cpp: In function ‘int main()’: user.cpp:148:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&n); ^ user.cpp:149:79: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d%d%d%d%d%d%d%d%d",&t1,&t2,&s1,&s2,&s3,&s4,&r1,&r2,&r3,&r4); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2892kbOK5
24ms2948kbOK5
34ms3032kbOK5
428ms3412kbOK5
544ms3720kbOK5
6104ms3988kbOK5
712ms3312kbOK5
84ms3008kbOK5
952ms3808kbOK5
10236ms6788kbOK5
11248ms6732kbOK5
12Depăşit6564kbTime limit exceeded.0
13Depăşit6504kbTime limit exceeded.0
14Depăşit6468kbTime limit exceeded.0
15Depăşit6632kbTime limit exceeded.0
16Depăşit6536kbTime limit exceeded.0
17Depăşit6608kbTime limit exceeded.0
18Depăşit6600kbTime limit exceeded.0
19Depăşit6468kbTime limit exceeded.0
20Depăşit6700kbTime limit exceeded.0
Punctaj total55

Ceva nu functioneaza?