Pagini recente »
Borderou de evaluare (job #686575)
Borderou de evaluare (job #686575)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:30:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | freopen("optim.in","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
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("optim.out", "w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:33:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
33 | scanf("%d %d",&N,&K);
| ~~~~~^~~~~~~~~~~~~~~
main.cpp:35:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
35 | scanf("%d",&A[i]);
| ~~~~~^~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
OK
|
5
|
2
|
1 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
|
118 kb
|
OK
|
5
|
7
|
1 ms
|
118 kb
|
OK
|
5
|
8
|
411 ms
|
249 kb
|
OK
|
5
|
9
|
411 ms
|
118 kb
|
OK
|
5
|
10
|
1 ms
|
114 kb
|
OK
|
5
|
11
|
614 ms
|
118 kb
|
OK
|
5
|
12
|
1 ms
|
114 kb
|
OK
|
5
|
13
|
612 ms
|
118 kb
|
OK
|
5
|
14
|
1 ms
|
114 kb
|
OK
|
5
|
15
|
1 ms
|
114 kb
|
OK
|
5
|
16
|
2 ms
|
114 kb
|
OK
|
5
|
17
|
1 ms
|
114 kb
|
OK
|
5
|
18
|
37 ms
|
118 kb
|
OK
|
5
|
19
|
90 ms
|
118 kb
|
OK
|
5
|
20
|
1 ms
|
114 kb
|
OK
|
5
|
Punctaj total
|
100
|