QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#543451#9178. All-You-Can-EatHuangHanShengWA 14ms3852kbC++202.5kb2024-09-01 16:52:082024-09-01 16:52:08

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3844kb

input:

1
5
10
13
450
585
465

output:

0
TAKE
0
TAKE
0
TAKE
1 3
TAKE
0
IGNORE

result:

ok OK, worst = 0.648188 (1 test case)

Test #2:

score: 0
Accepted
time: 1ms
memory: 3852kb

input:

1
1
100

output:

0
TAKE

result:

ok OK, worst = 1.000000 (1 test case)

Test #3:

score: -100
Wrong Answer
time: 14ms
memory: 3580kb

input:

2000
5
535
529
471
0
0
5
536
588
558
515
485
5
525
599
507
493
0
5
549
561
567
504
496
5
557
596
592
503
497
5
549
549
536
464
0
5
590
572
428
0
0
5
589
540
460
0
0
5
544
524
476
0
0
5
553
545
455
0
0
5
555
543
457
0
0
5
523
571
577
506
494
5
594
519
481
0
0
5
527
521
479
0
0
5
587
539
461
0
0
5
561...

output:

0
TAKE
0
IGNORE
0
IGNORE
0
TAKE
0
TAKE
0
TAKE
0
IGNORE
0
IGNORE
0
IGNORE
0
IGNORE
0
TAKE
0
IGNORE
0
IGNORE
0
IGNORE
0
TAKE
0
TAKE
0
IGNORE
0
IGNORE
0
IGNORE
0
IGNORE
0
TAKE
0
IGNORE
0
IGNORE
0
IGNORE
0
IGNORE
0
TAKE
0
IGNORE
0
IGNORE
0
IGNORE
0
TAKE
0
TAKE
0
IGNORE
0
IGNORE
0
TAKE
0
TAKE
0
TAKE
0
IG...

result:

wrong answer alg = 535 opt = 1000 (test case 1)