Borderou de evaluare (job #563653)

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:50:51 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 266 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 199 ms 1028 kb OK 10
6 209 ms 1249 kb OK 10
7 209 ms 1224 kb OK 10
8 237 ms 1200 kb OK 10
9 249 ms 1347 kb OK 10
10 267 ms 1355 kb OK 10
Punctaj total 100