Borderou de evaluare (job #685992)

Utilizator avatar Tzepu Icriverzi Andrei Tzepu IP ascuns
Problemă Permutări1 (clasa a 7-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 6 ian. 2023 13:53:08 Scor 25

Raport evaluator

Compilare: main.c: In function 'perm': main.c:22:29: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 22 | fscanf (fis1, "%d", &m); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:27:30: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 27 | fprintf (fis2, "%d", s); | ~^ ~ | | | | int long long int | %lld main.c: In function 'main': main.c:48:22: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=] 48 | fscanf(fis1, "%d%d", &n,&m ); | ~^ ~~ | | | | int * long long int * | %lld main.c: In function 'perm': main.c:22:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | fscanf (fis1, "%d", &m); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:48:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 48 | fscanf(fis1, "%d%d", &n,&m ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 5
2 2 ms 114 kb OK 5
3 1 ms 114 kb OK 5
4 1 ms 114 kb OK 5
5 120 ms 114 kb OK 5
6 15 ms 118 kb Incorect 0
7 16 ms 118 kb Incorect 0
8 125 ms 114 kb Incorect 0
9 126 ms 118 kb Incorect 0
10 359 ms 118 kb Time limit exceeded 0
11 353 ms 118 kb Time limit exceeded 0
12 359 ms 118 kb Time limit exceeded 0
13 356 ms 118 kb Time limit exceeded 0
14 354 ms 118 kb Time limit exceeded 0
15 357 ms 118 kb Time limit exceeded 0
16 350 ms 118 kb Time limit exceeded 0
17 356 ms 118 kb Time limit exceeded 0
18 355 ms 118 kb Time limit exceeded 0
19 355 ms 118 kb Time limit exceeded 0
20 352 ms 118 kb Time limit exceeded 0
Punctaj total 25