Borderou de evaluare (job #310215)

Utilizator avatar probleme_info Daria Preda probleme_info IP ascuns
Problemă Fermier1 (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 9 aug. 2017 21:36:20 Scor 27

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:19:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | freopen("fermier1.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:20:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | freopen("fermier1.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:21:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | scanf("%d%d", &n, &c); | ~~~~~^~~~~~~~~~~~~~~~ main.cpp:24:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 24 | scanf("%d", &d[i]); | ~~~~~^~~~~~~~~~~~~ main.cpp:33:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | scanf("%d", &qi); | ~~~~~^~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 4 ms 245 kb Pomana - puncte din oficiu 10
2 4 ms 245 kb Incorect 0
3 4 ms 245 kb Incorect 0
4 4 ms 507 kb Incorect 0
5 4 ms 245 kb Incorect 0
6 4 ms 245 kb OK 3
7 5 ms 245 kb Incorect 0
8 4 ms 245 kb OK 2
9 4 ms 245 kb Incorect 0
10 4 ms 241 kb OK 4
11 4 ms 245 kb Incorect 0
12 4 ms 245 kb Incorect 0
13 4 ms 245 kb Incorect 0
14 4 ms 245 kb Incorect 0
15 4 ms 245 kb OK 4
16 4 ms 245 kb Incorect 0
17 5 ms 241 kb OK 4
18 4 ms 245 kb Incorect 0
19 4 ms 245 kb Incorect 0
20 4 ms 245 kb Incorect 0
21 4 ms 245 kb Incorect 0
Punctaj total 27