Borderou de evaluare (job #713496)

Utilizator avatar AlexStoican Alexandru Andrei Stoican AlexStoican IP ascuns
Problemă Neo (clasa a 7-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 30 mar. 2023 10:28:57 Scor 30

Raport evaluator

Compilare: main.c: In function 'main': main.c:56:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'char *' [-Wformat=] 56 | fscanf(in, "%d", &v[i]); | ~^ ~~~~~ | | | | | char * | int * | %hhd main.c:51:15: warning: unused variable 'j' [-Wunused-variable] 51 | int n, i, j; | ^ main.c:53:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 53 | fscanf(in, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~ main.c:56:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 56 | fscanf(in, "%d", &v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Energie incorecta 0
2 1 ms 245 kb OK 5
3 1 ms 245 kb OK 5
4 1 ms 245 kb Energie incorecta 0
5 1 ms 245 kb Energie incorecta 0
6 1 ms 245 kb Energie incorecta 0
7 1 ms 245 kb Energie incorecta 0
8 1 ms 249 kb Energie incorecta 0
9 1 ms 245 kb Energie incorecta 0
10 1 ms 245 kb Energie incorecta 0
11 1 ms 245 kb Energie incorecta 0
12 1 ms 245 kb Energie incorecta 0
13 1 ms 245 kb OK 5
14 1 ms 245 kb OK 5
15 1 ms 249 kb Energie incorecta 0
16 1 ms 249 kb Energie incorecta 0
17 9 ms 245 kb Energie incorecta 0
18 1 ms 249 kb OK 5
19 1 ms 249 kb Energie incorecta 0
20 1 ms 249 kb OK 5
Punctaj total 30