Borderou de evaluare (job #662694)

Utilizator avatar Stormtrooper-007 Vartic Rihard Stormtrooper-007 IP ascuns
Problemă Balance (clasa a 9-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 19 sept. 2022 08:14:05 Scor 85

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:31:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | freopen("balance.in","r",stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:32:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | freopen("balance.out","w",stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:34:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 34 | scanf("%d",&n); | ~~~~~^~~~~~~~~ main.cpp:36:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 36 | scanf("%d",&a[i]); | ~~~~~^~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 5
2 2 ms 114 kb OK 5
3 1 ms 114 kb OK 5
4 1 ms 114 kb OK 5
5 1 ms 114 kb OK 5
6 1 ms 114 kb OK 5
7 1 ms 114 kb OK 5
8 1 ms 114 kb OK 5
9 2 ms 114 kb OK 5
10 1 ms 114 kb OK 5
11 1 ms 114 kb OK 5
12 1 ms 118 kb OK 5
13 1 ms 118 kb OK 5
14 1 ms 118 kb OK 5
15 92 ms 114 kb OK 5
16 87 ms 118 kb OK 5
17 84 ms 118 kb OK 5
18 1001 ms 118 kb Time limit exceeded 0
19 1003 ms 118 kb Time limit exceeded 0
20 1007 ms 118 kb Time limit exceeded 0
Punctaj total 85