Borderou de evaluare (job #746998)

Utilizator avatar Vicentiu12345 Savu vicentiu dorian Vicentiu12345 IP ascuns
Problemă Îngerași (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 24 nov. 2023 09:38:31 Scor 30

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 11 | fscanf(fin, "%d", &h); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:13:23: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 13 | fscanf(fin, "%d", &c); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:21:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 21 | fprintf(fout, "%d", h); | ~^ ~ | | | | 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, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin, "%d", &h); | ^~~~~~~~~~~~~~~~~~~~~ main.c:13:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d", &c); | ^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 245 kb OK 10
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb OK 10
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 241 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb OK 10
Punctaj total 30