QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#219256#6680. HeapZhangYiDeWA 135ms4608kbC++14761b2023-10-19 10:15:452023-10-19 10:15:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
4
2 3 1 4
4 1 3 2
5
4 5 1 2 3
3 4 1 5 2
3
1 1 2
2 1 1

output:

0101
Impossible
001

result:

ok 3 lines

Test #2:

score: 0
Accepted
time: 135ms
memory: 4440kb

input:

1118
77
210555 375330 669075 785279 194474 310626 830710 886719 102133 426324 41900 971872 167203 702222 230534 112350 673156 358623 886831 72864 818751 367894 842740 531878 818794 131219 412128 104469 70427 658494 72060 768735 915294 161365 91671 451974 121863 498890 408674 670274 875754 967228 518...

output:

00010111111010100000101000101001111010010000100101001001001000001100111100010
000001011011010
01011011111111010011000100101100101010000110111000001100
0
Impossible
01
011001000010010011110011010100110010111110101000010001101101000011
Impossible
Impossible
010001111
0010000101001000000100110111100111...

result:

ok 1118 lines

Test #3:

score: -100
Wrong Answer
time: 121ms
memory: 4608kb

input:

1119
77
108375330 409310626 560194474 108375330 89669075 89669075 409310626 477785279 89669075 89669075 89669075 477785279 108375330 89669075 409310626 560194474 108375330 89669075 108375330 89669075 477785279 89669075 108375330 108375330 409310626 108375330 477785279 89669075 477785279 477785279 10...

output:

Impossible
00011
000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Impossible
Impossible
Impossible
0110100001101001110110001101
Impossible
0000000000000000000000000000000000000000000000000000000000000000000000000000000000
Impossible
Impossible
Impossible
Impossibl...

result:

wrong answer 1st lines differ - expected: '001101110011110111010001011011...1011100010000000001010101011000', found: 'Impossible'