Borderou de evaluare (job #348669)

Utilizator avatar maria_neagoie Maria Neagoie maria_neagoie IP ascuns
Problemă Fermier1 (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 4 feb. 2018 22:23:10 Scor 100

Raport evaluator

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