Borderou de evaluare (job #612728)

Utilizator avatar Daniel_paun Daniel Marcus Paun Daniel_paun IP ascuns
Problemă Baza ascunsă (clasa a 6-a) Compilator c-32
Rundă Tema 5 clasa a 6-a Status evaluat
Dată 27 oct. 2021 15:43:57 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:16:18: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'char (*)[100]' [-Wformat=] 16 | fscanf(fin,"%s",&vector); | ~^ ~~~~~~~ | | | | | char (*)[100] | char * main.c:36:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 36 | fprintf(fout,"%d %d",S,B-1); | ~^ ~ | | | | int long long int | %lld main.c:14:12: warning: unused variable 'm' [-Wunused-variable] 14 | char k,m; | ^ main.c:14:10: warning: unused variable 'k' [-Wunused-variable] 14 | char k,m; | ^ main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin,"%s",&vector); | ^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb Incorect 0
2 1 ms 131 kb Incorect 0
3 1 ms 131 kb Incorect 0
4 1 ms 131 kb Incorect 0
5 1 ms 131 kb Incorect 0
6 1 ms 131 kb Incorect 0
7 1752 ms 131 kb Incorect 0
8 1 ms 131 kb Incorect 0
9 1 ms 131 kb Incorect 0
10 1 ms 131 kb Incorect 0
Penalizare: 3% (pentru 1 submisie/ii) 3%
Punctaj total 0