Borderou de evaluare (job #712378)

Utilizator avatar avram.popa Avram-Popa avram.popa IP ascuns
Problemă Descmult (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 27 mar. 2023 18:13:58 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 12 | fscanf(fin,"%d",&p[i]); | ~^ ~~~~~ | | | | | long long int * | int * | %lld main.c:15:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 15 | fscanf(fin,"%d",&e[i]); | ~^ ~~~~~ | | | | | long long int * | int * | %lld main.c:35:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 35 | fprintf(fout,"%d ",s[l]); | ~^ ~~~~ | | | | int long long int | %lld main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin,"%lld%lld%lld%lld",&c,&n,&a,&b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin,"%d",&p[i]); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin,"%d",&e[i]); | ^~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 1 ms 258 kb OK 5
3 2 ms 245 kb OK 5
4 1 ms 245 kb OK 5
5 39 ms 696 kb OK 5
6 19 ms 327 kb OK 5
7 9 ms 438 kb OK 5
8 9 ms 204 kb OK 5
9 49 ms 868 kb OK 5
10 9 ms 200 kb OK 5
11 1 ms 233 kb OK 5
12 19 ms 335 kb OK 5
13 9 ms 458 kb OK 5
14 29 ms 548 kb OK 5
15 179 ms 1536 kb OK 5
16 1 ms 233 kb OK 5
17 117 ms 1236 kb OK 5
18 9 ms 430 kb OK 5
19 1 ms 245 kb OK 5
20 1 ms 241 kb OK 5
Punctaj total 100