QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#524157#2555. Two BulletsqsceszthnWA 1ms7924kbC++142.4kb2024-08-19 11:20:372024-08-19 11:20:37

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 6880kb

input:

8
4 3 8 2 1 7 6 5

output:

4
4 8
3 7
2 6
1 5

result:

ok da

Test #2:

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

input:

8
5 6 7 1 2 8 3 4

output:

4
5 8
6 7
1 4
2 3

result:

ok da

Test #3:

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

input:

4
1 2 4 3

output:

2
2 4
1 3

result:

ok da

Test #4:

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

input:

2
1 2

output:

1
1 2

result:

ok da

Test #5:

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

input:

2
2 1

output:

2
2 2
1 1

result:

ok da

Test #6:

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

input:

3
1 2 3

output:

2
2 3
1 1

result:

ok da

Test #7:

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

input:

3
1 3 2

output:

2
1 3
2 2

result:

ok da

Test #8:

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

input:

3
2 1 3

output:

2
2 3
1 1

result:

ok da

Test #9:

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

input:

3
2 3 1

output:

2
2 3
1 1

result:

ok da

Test #10:

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

input:

3
3 1 2

output:

2
3 3
1 2

result:

ok da

Test #11:

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

input:

3
3 2 1

output:

3
3 3
2 2
1 1

result:

ok da

Test #12:

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

input:

4
1 2 3 4

output:

2
1 4
2 3

result:

ok da

Test #13:

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

input:

4
1 2 4 3

output:

2
2 4
1 3

result:

ok da

Test #14:

score: -100
Wrong Answer
time: 1ms
memory: 6976kb

input:

4
1 3 2 4

output:

2
2 4
1 3

result:

FAIL removed all buildings