Borderou de evaluare (job #785234)

Utilizator avatar coldsh_1 Marcovici Andrei coldsh_1 IP ascuns
Problemă Fotbal3 (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 1 sept. 2024 15:36:29 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:21:13: warning: assignment to 'char' from 'char *' makes integer from pointer without a cast [-Wint-conversion] 21 | if(r=q1) s++; | ^ main.c:21:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 21 | if(r=q1) s++; | ^ main.c:22:18: warning: assignment to 'char' from 'char *' makes integer from pointer without a cast [-Wint-conversion] 22 | else if(r=q2) s2++; | ^ main.c:22:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 22 | else if(r=q2) s2++; | ^ main.c:23:18: warning: assignment to 'char' from 'char *' makes integer from pointer without a cast [-Wint-conversion] 23 | else if(r=q3) s3++; | ^ main.c:23:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 23 | else if(r=q3) s3++; | ^ main.c:26:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'int *' [-Wformat=] 26 | fprintf(fout, "%d %d %d %d ", &s, &s2, &s3, &s4); | ~^ ~~ | | | | int int * | %n main.c:26:24: warning: format '%d' expects argument of type 'int', but argument 4 has type 'int *' [-Wformat=] 26 | fprintf(fout, "%d %d %d %d ", &s, &s2, &s3, &s4); | ~^ ~~~ | | | | int int * | %n main.c:26:27: warning: format '%d' expects argument of type 'int', but argument 5 has type 'int *' [-Wformat=] 26 | fprintf(fout, "%d %d %d %d ", &s, &s2, &s3, &s4); | ~^ ~~~ | | | | int int * | %n main.c:26:30: warning: format '%d' expects argument of type 'int', but argument 6 has type 'int *' [-Wformat=] 26 | fprintf(fout, "%d %d %d %d ", &s, &s2, &s3, &s4); | ~^ ~~~ | | | | int int * | %n main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d", &c); | ^~~~~~~~~~~~~~~~~~~~~ main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin, "%c", &x); | ^~~~~~~~~~~~~~~~~~~~~ main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 39 ms 249 kb Time limit exceeded 0
2 39 ms 249 kb Time limit exceeded 0
3 39 ms 249 kb Time limit exceeded 0
4 39 ms 249 kb Time limit exceeded 0
5 39 ms 249 kb Time limit exceeded 0
6 39 ms 270 kb Time limit exceeded 0
7 39 ms 270 kb Time limit exceeded 0
8 39 ms 249 kb Time limit exceeded 0
9 39 ms 249 kb Time limit exceeded 0
10 39 ms 249 kb Time limit exceeded 0
11 39 ms 270 kb Time limit exceeded 0
12 39 ms 249 kb Time limit exceeded 0
13 39 ms 249 kb Time limit exceeded 0
14 38 ms 135 kb Time limit exceeded 0
15 39 ms 512 kb Time limit exceeded 0
16 39 ms 270 kb Time limit exceeded 0
17 39 ms 249 kb Time limit exceeded 0
18 39 ms 249 kb Time limit exceeded 0
19 39 ms 270 kb Time limit exceeded 0
20 33 ms 139 kb Time limit exceeded 0
Punctaj total 0