Borderou de evaluare (job #2169106)

Utilizator ioanavasilescuIoana Vasilescu ioanavasilescu Data 14 martie 2018 13:28:38
Problema AI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 28

Raport evaluator

Compilare: user.cpp: In function ‘void apara(int, int, int&, int&)’: user.cpp:55:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(x>=s1 && x<t1 || x<=s1 && x>t1) ^ user.cpp:58:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(x>=s3 && x<t1 || x<=s3 && x>t1) ^ 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:92: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:93: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
14ms2724kbRaspuns gresit0
24ms2924kbRaspuns gresit0
34ms2996kbRaspuns gresit0
428ms3472kbOK5
544ms3776kbPrimul numar corect1
6108ms4064kbPrimul numar corect1
712ms3316kbOK5
84ms3020kbOK5
952ms3804kbOK5
10236ms6680kbOK5
11244ms6716kbPrimul numar corect1
12Depăşit6544kbTime limit exceeded.0
13Depăşit6600kbTime limit exceeded.0
14Depăşit6376kbTime limit exceeded.0
15Depăşit6592kbTime limit exceeded.0
16Depăşit6624kbTime limit exceeded.0
17Depăşit6556kbTime limit exceeded.0
18Depăşit6544kbTime limit exceeded.0
19Depăşit6604kbTime limit exceeded.0
20Depăşit6612kbTime limit exceeded.0
Punctaj total28

Ceva nu functioneaza?