Borderou de evaluare (job #2169996)

Utilizator ioanavasilescuIoana Vasilescu ioanavasilescu Data 14 martie 2018 20:26:25
Problema AI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 76

Raport evaluator

Compilare: user.cpp: In function ‘void apara(int, int, int&, int&)’: user.cpp:56:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(x>=s1 && x<t1 || x<=s1 && x>t1) ^ user.cpp:57:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(y>=s2 && x<t1 || y<=s2 && x>t1) ^ user.cpp:61:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(x>=s3 && x<t2 || x<=s3 && x>t2) ^ user.cpp:62:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(y>=s4 && x<t2 || y<=s4 && x>t2) ^ user.cpp: In function ‘void ziduri()’: user.cpp:22: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:26: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:96: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:97: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
14ms2720kbOK5
24ms2856kbPrimul numar corect1
34ms3084kbOK5
48ms3368kbOK5
512ms3708kbPrimul numar corect1
624ms4216kbPrimul numar corect1
74ms3248kbOK5
84ms2964kbPrimul numar corect1
912ms3748kbOK5
1028ms6632kbOK5
1140ms6588kbOK5
12116ms6776kbPrimul numar corect1
1360ms6680kbOK5
1484ms6620kbOK5
1592ms6832kbPrimul numar corect1
16112ms6784kbOK5
1728ms6628kbOK5
1888ms6748kbOK5
1976ms6640kbOK5
20136ms6940kbOK5
Punctaj total76

Ceva nu functioneaza?