Borderou de evaluare (job #797837)

Utilizator avatar pacelaaa Ciurea Pavel pacelaaa IP ascuns
Problemă Swap (baraj gimnaziu) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 26 nov. 2024 00:47:26 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:60:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 60 | fprintf( fout,"%I64d\n%I64d\n%d\n", scor, scor - 2, swap_bun); | ~~~~^ ~~~~ | | | | int long long int | %I64lld main.c:60:33: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=] 60 | fprintf( fout,"%I64d\n%I64d\n%d\n", scor, scor - 2, swap_bun); | ~~~~^ ~~~~~~~~ | | | | int long long int | %I64lld main.c:62:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 62 | fprintf( fout, "%I64d\n%d\n%d\n", scor, -1, 0); | ~~~~^ ~~~~ | | | | int long long int | %I64lld main.c:40:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 40 | fscanf( fin, "%d", &n ); | ^~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 266 kb Incorect 0
7 1 ms 266 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 507 kb Incorect 0
10 1 ms 507 kb Incorect 0
11 1 ms 266 kb Incorect 0
12 1 ms 249 kb Incorect 0
13 1 ms 245 kb Incorect 0
14 1 ms 245 kb Incorect 0
15 1 ms 249 kb Incorect 0
16 1 ms 245 kb Incorect 0
17 1 ms 245 kb Incorect 0
18 4 ms 245 kb Incorect 0
19 1 ms 249 kb Incorect 0
20 1 ms 266 kb Incorect 0
Punctaj total 0