Borderou de evaluare (job #763261)

Utilizator avatar NICO_ Gavris Nicolae NICO_ IP ascuns
Problemă Forus (clasa a 5-a) Compilator c-32
Rundă Tema 26 Clasa a 5-a Status evaluat
Dată 19 feb. 2024 08:58:37 Scor 20

Raport evaluator

Compilare: main.c: In function 'main': main.c:16:23: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 16 | fscanf(fin ,"%d",&a); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:8:17: warning: unused variable 'aa' [-Wunused-variable] 8 | long long a,aa; | ^~ main.c:7:34: warning: unused variable 'div' [-Wunused-variable] 7 | int t,n,i=1,s=0,maxdiv=0,d=1,div; | ^~~ main.c:7:30: warning: unused variable 'd' [-Wunused-variable] 7 | int t,n,i=1,s=0,maxdiv=0,d=1,div; | ^ main.c:7:21: warning: unused variable 'maxdiv' [-Wunused-variable] 7 | int t,n,i=1,s=0,maxdiv=0,d=1,div; | ^~~~~~ main.c:7:13: warning: unused variable 'i' [-Wunused-variable] 7 | int t,n,i=1,s=0,maxdiv=0,d=1,div; | ^ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin ,"%d %d",&t,&n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin ,"%d",&a); | ^~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 4 ms 245 kb Pomana (pentru ca Mehedinti si Salaj sa nu para ca s-au calificat cu 10p, ci cu 30p) 10
2 4 ms 245 kb Incorect 0
3 4 ms 245 kb OK 6
4 4 ms 245 kb OK 6
5 4 ms 245 kb Incorect 0
6 4 ms 245 kb Incorect 0
7 4 ms 245 kb Incorect 0
8 3 ms 245 kb Incorect 0
9 4 ms 245 kb Incorect 0
10 3 ms 245 kb Incorect 0
11 4 ms 245 kb Incorect 0
12 4 ms 245 kb Incorect 0
Penalizare: 5% (pentru 1 submisie/ii) 5%
Punctaj total 20