Borderou de evaluare (job #623075)

Utilizator avatar andreifilimon Popescu Filimon Andrei Cosmin andreifilimon IP ascuns
Problemă Permutări1 (clasa a 7-a) Compilator c-32
Rundă Tema 14 clasa a 7-a Status evaluat
Dată 25 dec. 2021 23:13:48 Scor 25

Raport evaluator

Compilare: main.c: In function 'perm': main.c:23:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 23 | if(ver(x)==1) | ^ main.c:36:9: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 36 | return; | ^~~~~~ main.c:17:5: note: declared here 17 | int perm(int x) | ^~~~ main.c: In function 'main': main.c:42:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:46:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 46 | fscanf(fin,"%d",&a); | ^~~~~~~~~~~~~~~~~~~ main.c:50:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 50 | fscanf(fin,"%d",&a); | ^~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 5
2 1 ms 131 kb OK 5
3 1 ms 131 kb OK 5
4 1 ms 131 kb OK 5
5 18 ms 520 kb Killed by Signal 11 0
6 12 ms 393 kb OK 5
7 17 ms 524 kb OK 5
8 18 ms 520 kb Killed by Signal 11 0
9 21 ms 520 kb Killed by Signal 11 0
10 23 ms 520 kb Killed by Signal 11 0
11 21 ms 520 kb Killed by Signal 11 0
12 19 ms 516 kb Killed by Signal 11 0
13 22 ms 520 kb Killed by Signal 11 0
14 22 ms 520 kb Killed by Signal 11 0
15 29 ms 520 kb Killed by Signal 11 0
16 19 ms 393 kb Killed by Signal 11 0
17 27 ms 520 kb Killed by Signal 11 0
18 24 ms 520 kb Killed by Signal 11 0
19 22 ms 520 kb Killed by Signal 11 0
20 24 ms 520 kb Killed by Signal 11 0
Penalizare: 15% (pentru 5 submisie/ii) 15%
Punctaj total 25