Borderou de evaluare (job #621778)

Utilizator avatar GicuR Gicu Rata GicuR IP ascuns
Problemă Bile1 (clasa a 7-a) Compilator cpp-32
Rundă lasm_21_12_2021_cl12 Status evaluat
Dată 21 dec. 2021 12:00:58 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:10:38: warning: unused variable 't' [-Wunused-variable] 10 | int m,n,i,j,p,b[5002]; coord t; | ^ main.cpp:13:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fi,"%d %d %d",&m,&n,&p); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:15:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | for(i=1;i<=p;i++) fscanf(fi,"%d %d",&a[i].x,&a[i].y); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:17:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | for(i=1;i<=n;i++) fscanf(fi,"%d",&b[i]); | ~~~~~~^~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 10
2 2 ms 258 kb OK 10
3 1 ms 253 kb OK 10
4 1 ms 131 kb OK 10
5 1 ms 253 kb OK 10
6 10 ms 258 kb OK 10
7 12 ms 389 kb OK 10
8 12 ms 389 kb OK 10
9 1 ms 131 kb OK 10
10 1 ms 131 kb OK 10
Punctaj total 100