Borderou de evaluare (job #2170904)

Utilizator ioanavasilescuIoana Vasilescu ioanavasilescu Data 15 martie 2018 10:19: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
14ms2960kbOK5
24ms2996kbPrimul numar corect1
34ms3068kbOK5
48ms3548kbOK5
512ms3652kbPrimul numar corect1
624ms4028kbPrimul numar corect1
74ms3212kbOK5
84ms3104kbPrimul numar corect1
912ms3676kbOK5
1032ms6660kbOK5
1140ms6648kbOK5
12116ms6776kbPrimul numar corect1
1360ms6680kbOK5
1484ms6720kbOK5
1592ms6776kbPrimul numar corect1
16112ms6752kbOK5
1728ms6700kbOK5
1888ms6892kbOK5
1976ms6636kbOK5
20136ms6840kbOK5
Punctaj total76

Ceva nu functioneaza?