Borderou de evaluare (job #621809)

Utilizator avatar RedFiree Alex Prohnitchi RedFiree IP ascuns
Problemă Bile1 (clasa a 7-a) Compilator cpp-32
Rundă lasm_21_12_2021_cl12 Status evaluat
Dată 21 dec. 2021 12:30:35 Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:8:39: warning: unused variable 't' [-Wunused-variable] 8 | int m,n,i,j,p,b[5002]; coord t; | ^ main.cpp:10:16: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fi,"%d %d %d",&m,&n,&p); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:11:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | for(i=1;i<=p;i++) fscanf(fi,"%d %d",&a[i].x,&a[i].y); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:12:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | 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 6 ms 262 kb OK 10
3 1 ms 131 kb Killed by Signal 11 0
4 4 ms 131 kb Killed by Signal 11 0
5 1 ms 131 kb OK 10
6 1 ms 131 kb Killed by Signal 11 0
7 1 ms 131 kb Killed by Signal 11 0
8 1 ms 131 kb Killed by Signal 11 0
9 1 ms 131 kb Killed by Signal 11 0
10 1 ms 131 kb OK 10
Punctaj total 40