Borderou de evaluare (job #691280)

Utilizator avatar ecaterina Ecaterina Stefanescu ecaterina IP ascuns
Problemă Partit (clasele 11-12) Compilator c-32
Rundă Concurs IQ Academy | Clasa a 11-a Status evaluat
Dată 29 ian. 2023 16:56:55 Scor 9

Raport evaluator

Compilare: main.c: In function 'main': main.c:20:23: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 20 | fscanf(fin, "%d", &k); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:52:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 52 | fprintf(fout, "%d ", k); | ~^ ~ | | | | int long long int | %lld main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin, "%d%d", &cer, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:20:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin, "%d", &k); | ^~~~~~~~~~~~~~~~~~~~~ main.c:57:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | fscanf(fin, "%d", &x); | ^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Incorect 0
2 1 ms 114 kb Incorect 0
3 1 ms 249 kb Incorect 0
4 1 ms 118 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 118 kb Incorect 0
7 2 ms 114 kb Incorect 0
8 1 ms 110 kb Incorect 0
9 1 ms 110 kb Incorect 0
10 1 ms 114 kb Ok 9
11 1 ms 114 kb Incorect 0
12 1 ms 110 kb Incorect 0
Punctaj total 9