QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#556029#2458. Follow the Bouncing Ballucup-team1005#WA 4ms4992kbC++206.6kb2024-09-10 14:19:422024-09-10 14:19:42

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

20 30 5 3 10 -1 1
4 10 18 10 24 14 24 14 18 10
3 5 23 1 25 5 27 7
4 16 22 16 28 19 28 19 19 8

output:

0 2 3

result:

ok single line: '0 2 3'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3872kb

input:

20 30 10 3 10.1 -1 1
4 10 18 10 24 14 24 14 18 10
3 5 23 1 25 5 27 7
4 16 22 16 28 19 28 19 19 8

output:

0 0 1

result:

ok single line: '0 0 1'

Test #3:

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

input:

40 100 90 4 10 0 1
3 5 10 5 20 35 20 100
3 5 40 35 40 35 30 100
3 5 50 5 60 35 60 100
3 5 80 35 80 35 70 100

output:

10 100 100 100

result:

ok single line: '10 100 100 100'

Test #4:

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

input:

40 100 90 4 10 0 1
3 5 10 5 20 35 20 18
3 5 40 35 40 35 30 100
3 5 50 5 60 35 60 100
3 5 80 35 80 35 70 100

output:

0 27 100 100

result:

ok single line: '0 27 100 100'

Test #5:

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

input:

40 100 90 4 10 0 1
3 5 10 5 20 35 20 18
3 5 40 35 40 35 30 21
3 5 50 5 60 35 60 100
3 5 80 35 80 35 70 100

output:

0 0 47 100

result:

ok single line: '0 0 47 100'

Test #6:

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

input:

40 100 90 4 10 0 1
3 5 10 5 20 35 20 18
3 5 40 35 40 35 30 21
3 5 50 5 60 35 60 15
3 5 80 35 80 35 70 100

output:

0 0 0 61

result:

ok single line: '0 0 0 61'

Test #7:

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

input:

12 102 4 2 4 3 4
4 1 1 1 101 4 101 4 1 101
4 7 1 7 101 11 101 11 1 101

output:

1 1

result:

ok single line: '1 1'

Test #8:

score: 0
Accepted
time: 4ms
memory: 4992kb

input:

20 36 500 11 10 5 3
3 1 2 1 5 6 2 100
3 1 9 1 15 6 12 100
3 1 21 1 27 6 24 100
3 1 31 1 34 6 34 100
4 10 1 1 6 10 11 19 6 100
4 10 13 1 18 10 23 19 18 100
4 10 25 1 30 10 35 19 30 100
3 14 2 19 5 19 2 100
3 14 12 19 15 19 9 100
3 14 24 19 27 19 21 100
3 14 34 19 34 19 31 100

output:

100 100 100 100 100 100 100 100 100 100 100

result:

ok single line: '100 100 100 100 100 100 100 100 100 100 100'

Test #9:

score: 0
Accepted
time: 0ms
memory: 3904kb

input:

20 1000 2 5 10 0 1
3 2 8 2 12 4 12 2
4 5 8 5 12 7 12 7 8 100
3 12 8 8 12 12 12 2
4 13 8 13 12 15 12 15 8 100
3 16 12 18 12 18 8 2

output:

1 0 0 1 2

result:

ok single line: '1 0 0 1 2'

Test #10:

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

input:

50 53 1 20 1 10 1
4 1 6 1 7 2 7 2 6 1
4 1 9 1 10 2 10 2 9 1
4 1 16 1 17 2 17 2 16 1
4 1 19 1 20 2 20 2 19 1
4 1 26 1 27 2 27 2 26 1
4 1 29 1 30 2 30 2 29 1
4 1 36 1 37 2 37 2 36 1
4 1 38 1 40 2 40 2 38 1
4 1 46 1 47 2 47 2 46 1
4 1 49 1 50 2 50 2 49 1
4 48 4 48 5 49 5 49 4 1
4 48 11 48 12 49 12 49 1...

output:

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

result:

ok single line: '0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0'

Test #11:

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

input:

50 53 1 20 1 10 1
4 1 6 1 7 2 7 2 6 2
4 1 9 1 10 2 10 2 9 2
4 1 16 1 17 2 17 2 16 2
4 1 19 1 20 2 20 2 19 2
4 1 26 1 27 2 27 2 26 2
4 1 29 1 30 2 30 2 29 2
4 1 36 1 37 2 37 2 36 2
4 1 38 1 40 2 40 2 38 2
4 1 46 1 47 2 47 2 46 2
4 1 49 1 50 2 50 2 49 2
4 48 4 48 5 49 5 49 4 2
4 48 11 48 12 49 12 49 1...

output:

2 1 2 2 2 2 2 0 2 2 1 2 0 2 2 2 2 2 0 2

result:

ok single line: '2 1 2 2 2 2 2 0 2 2 1 2 0 2 2 2 2 2 0 2'

Test #12:

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

input:

1000 1000 1 6 500 5 6
4 593 872 603 790 457 829 558 897 462
3 777 432 741 448 808 568 307
6 728 820 753 871 817 863 827 805 811 785 778 775 151
5 525 455 635 402 619 309 506 291 499 442 157
3 974 885 889 927 982 933 171
10 842 145 882 182 925 182 933 179 969 118 962 88 929 59 900 54 874 60 859 70 321

output:

459 305 145 156 165 320

result:

ok single line: '459 305 145 156 165 320'

Test #13:

score: -100
Wrong Answer
time: 3ms
memory: 3884kb

input:

1000 1000 100 6 500 5 6
4 593 872 603 790 457 829 558 897 462
3 777 432 741 448 808 568 307
6 728 820 753 871 817 863 827 805 811 785 778 775 151
5 525 455 635 402 619 309 506 291 499 442 157
3 974 885 889 927 982 933 171
10 842 145 882 182 925 182 933 179 969 118 962 88 929 59 900 54 874 60 859 70 ...

output:

462 271 51 139 0 233

result:

wrong answer 1st lines differ - expected: '462 307 51 157 0 151', found: '462 271 51 139 0 233'