Pagini recente »
Borderou de evaluare (job #699941)
Borderou de evaluare (job #699941)
Raport evaluator
Compilare:
main.cpp: In function 'void read_vector(int, int*)':
main.cpp:7:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | scanf("%d", &v[i]);
| ~~~~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:70:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
70 | freopen("secvp.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:71:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
71 | freopen("secvp.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:74:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
74 | scanf("%d%d", &n,&k);
| ~~~~~^~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
249 kb
|
Incorect
|
0
|
4
|
229 ms
|
249 kb
|
Incorect
|
0
|
5
|
507 ms
|
249 kb
|
Time limit exceeded
|
0
|
6
|
509 ms
|
507 kb
|
Time limit exceeded
|
0
|
7
|
507 ms
|
512 kb
|
Time limit exceeded
|
0
|
8
|
507 ms
|
507 kb
|
Time limit exceeded
|
0
|
9
|
506 ms
|
507 kb
|
Time limit exceeded
|
0
|
10
|
509 ms
|
770 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
0
|