Borderou de evaluare (job #792863)

Utilizator avatar ptrmp Petru Marin-Perianu ptrmp IP ascuns
Problemă Primrec (clasa a 7-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 3 nov. 2024 15:46:35 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:24:23: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] 24 | fprintf(fout, "%lld %lld %lld", eprim(a, 2), eprim(b, 2), eprim(c, 2)); | ~~~^ ~~~~~~~~~~~ | | | | long long int int | %d main.c:24:28: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int' [-Wformat=] 24 | fprintf(fout, "%lld %lld %lld", eprim(a, 2), eprim(b, 2), eprim(c, 2)); | ~~~^ ~~~~~~~~~~~ | | | | long long int int | %d main.c:24:33: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'int' [-Wformat=] 24 | fprintf(fout, "%lld %lld %lld", eprim(a, 2), eprim(b, 2), eprim(c, 2)); | ~~~^ ~~~~~~~~~~~ | | | | long long int int | %d main.c: In function 'eprim': main.c:15:1: warning: control reaches end of non-void function [-Wreturn-type] 15 | } | ^ main.c: In function 'main': main.c:23:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | fscanf(fin, "%lld %lld %lld", &a, &b, &c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 2 ms 245 kb Incorect 0
3 2 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 3 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb Incorect 0
11 1 ms 245 kb Incorect 0
12 1 ms 245 kb Incorect 0
13 2 ms 245 kb Incorect 0
14 1 ms 245 kb Incorect 0
15 1 ms 507 kb Incorect 0
16 2 ms 155 kb Incorect 0
17 1 ms 249 kb Incorect 0
18 1 ms 249 kb Incorect 0
19 1 ms 249 kb Incorect 0
20 2 ms 249 kb Incorect 0
Punctaj total 0