Borderou de evaluare (job #666216)

Utilizator avatar albertaizic Aizic Albert albertaizic IP ascuns
Problemă Suma4 (clasele 11-12) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 2 oct. 2022 19:31:26 Scor 5

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:103:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'char*' [-Wformat=] 103 | fscanf(fin,"%d",&v[i]); | ~^ ~~~~~ | | | | | char* | int* | %hhd main.cpp:101:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 101 | fscanf(fin,"%d",&nr); | ~~~~~~^~~~~~~~~~~~~~ main.cpp:103:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 103 | fscanf(fin,"%d",&v[i]); | ~~~~~~^~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 7 ms 241 kb Primul numar corect 1
2 1 ms 245 kb Primul numar corect 1
3 13 ms 245 kb Primul numar corect 1
4 38 ms 229 kb Primul numar corect 1
5 151 ms 614 kb Time limit exceeded 0
6 155 ms 638 kb Time limit exceeded 0
7 155 ms 643 kb Time limit exceeded 0
8 153 ms 638 kb Time limit exceeded 0
9 155 ms 643 kb Time limit exceeded 0
10 1 ms 241 kb Primul numar corect 1
Punctaj total 5