Borderou de evaluare (job #746008)

Utilizator avatar RobertSerb hacker ^_^ RobertSerb IP ascuns
Problemă Ucif (clasa a 5-a) Compilator c-32
Rundă Tema 15 clasa a 5-a Status evaluat
Dată 19 nov. 2023 11:48:03 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:19:13: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types] 19 | fprintf("%d", uc); | ^~~~ | | | char * In file included from /usr/include/stdio.h:906, from main.c:1: /usr/include/bits/stdio2.h:77:27: note: expected 'FILE * restrict' but argument is of type 'char *' 77 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~^~~~~~~~ main.c:19:19: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion] 19 | fprintf("%d", uc); | ^~ | | | int /usr/include/bits/stdio2.h:77:60: note: expected 'const char * restrict' but argument is of type 'int' 77 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.c:6:28: warning: unused variable 't' [-Wunused-variable] 6 | int n, x, i, s, c, uc, t; | ^ main.c:6:21: warning: variable 'c' set but not used [-Wunused-but-set-variable] 6 | int n, x, i, s, c, uc, t; | ^ main.c:6:12: warning: unused variable 'x' [-Wunused-variable] 6 | int n, x, i, s, c, uc, t; | ^ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf( fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 108 ms 245 kb Time limit exceeded 0
2 109 ms 249 kb Time limit exceeded 0
3 109 ms 249 kb Time limit exceeded 0
4 109 ms 249 kb Time limit exceeded 0
5 106 ms 249 kb Time limit exceeded 0
6 109 ms 249 kb Time limit exceeded 0
7 109 ms 249 kb Time limit exceeded 0
8 109 ms 249 kb Time limit exceeded 0
9 109 ms 249 kb Time limit exceeded 0
10 109 ms 249 kb Time limit exceeded 0
Punctaj total 0