Borderou de evaluare (job #733635)

Utilizator avatar vladimir.gavris vladimir g vladimir.gavris IP ascuns
Problemă Expresie3 (clasa a 9-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 26 sept. 2023 10:29:19 Scor 40

Raport evaluator

Compilare: main.c: In function 'main': main.c:54:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] 54 | printf("%d", max3nr); | ~^ ~~~~~~ | | | | int long long int | %lld main.c:57:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 57 | fprintf(fout,"%d", suma + (long long)maxim( max3nr, max1 + max2) ); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long long int | %lld main.c:27:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fscanf(fin, "%d%d%d%d", &n, &c, &a, &b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:34:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 34 | fscanf(fin, "%d", &c); | ^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 241 kb OK 5
2 1 ms 245 kb OK 5
3 1 ms 245 kb OK 5
4 1 ms 245 kb OK 5
5 1 ms 245 kb OK 5
6 1 ms 245 kb OK 5
7 1 ms 245 kb Incorect 0
8 1 ms 241 kb Incorect 0
9 1 ms 245 kb OK 5
10 1 ms 245 kb OK 5
11 1 ms 249 kb Incorect 0
12 9 ms 241 kb Incorect 0
13 9 ms 249 kb Incorect 0
14 19 ms 245 kb Incorect 0
15 19 ms 245 kb Incorect 0
16 49 ms 241 kb Incorect 0
17 49 ms 249 kb Incorect 0
18 49 ms 249 kb Incorect 0
19 59 ms 249 kb Incorect 0
20 69 ms 241 kb Incorect 0
Punctaj total 40