Borderou de evaluare (job #563652)

Utilizator avatar alexvali23 mihai andrei marian alexvali23 IP ascuns
Problemă Romb (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 1 sept. 2020 09:46:55 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:9:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(f, "%d", &n); | ~~~~~~^~~~~~~~~~~~~ main.cpp:15:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fgets(Mes, 2 * n, f); | ~~~~~^~~~~~~~~~~~~~~ main.cpp:25:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 25 | fgets(Mes, n + 1, f); | ~~~~~^~~~~~~~~~~~~~~ main.cpp:31:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | fgets(Mes, 2 * n, f); | ~~~~~^~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 19 ms 1253 kb OK 10
6 19 ms 1228 kb OK 10
7 19 ms 1236 kb OK 10
8 17 ms 1409 kb OK 10
9 19 ms 1695 kb OK 10
10 19 ms 1363 kb OK 10
Punctaj total 100