Borderou de evaluare (job #595058)

Utilizator avatar deer Mohanu Dominic deer IP ascuns
Problemă Figura (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 6 apr. 2021 15:44:44 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:14:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | freopen("figura.in", "rt", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:15:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | freopen("figura.out", "wt", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:17:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | scanf("%d", &D); | ~~~~~^~~~~~~~~~ main.cpp:18:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | scanf("%d", &n); | ~~~~~^~~~~~~~~~ main.cpp:20:11: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | scanf("%d %d", &L[i], &C[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb OK 10
2 1 ms 262 kb OK 10
3 1 ms 262 kb OK 10
4 1 ms 262 kb OK 10
5 1 ms 262 kb OK 10
6 1 ms 262 kb OK 10
7 1 ms 262 kb OK 10
8 1 ms 262 kb OK 10
9 1 ms 262 kb OK 10
10 1 ms 262 kb OK 10
Punctaj total 100