QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#752514#8726. Magic ShowLittle_Penguin0 0ms1872kbC++141020b2024-11-16 07:12:452024-11-16 07:12:46

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 0ms = 0ms + 0ms
memory: 1868kb,1868kb

input:

1
4005

output:

a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022
1
5000
1 2
1 3
1 4
2 5
2 6
1 7
2 8
1 9
1 10
2 11
1 12
2 13
1 14
1 15
2 16
2 17
1 18
1 19
2 20
2 21
1 22
2 23
1 24
2 25
2 26
1 27
2 28
1 29
2 30
2 31
1 32
1 33
1 34
2 35
2 ...

input:

a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022
1
5000
1 2
1 3
1 4
2 5
2 6
1 7
2 8
1 9
1 10
2 11
1 12
2 13
1 14
1 15
2 16
2 17
1 18
1 19
2 20
2 21
1 22
2 23
1 24
2 25
2 26
1 27
2 28
1 29
2 30
2 31
1 32
1 33
1 34
2 35
2 ...

output:

2
5000 4217
1 2
1 4
1 7
1 9
1 12
1 14
1 15
1 18
1 19
1 22
1 24
1 27
1 29
1 32
1 33
1 34
1 37
1 39
1 40
1 41
1 43
1 45
1 48
1 50
1 53
1 55
1 59
1 60
1 62
1 65
1 69
1 71
1 74
1 77
1 78
1 81
1 82
1 84
1 85
1 89
1 93
1 94
1 96
1 97
1 105
1 107
1 109
1 110
1 112
1 114
1 116
1 118
1 120
1 122
1 125
1 127
...

input:

2
5000 4217
1 2
1 4
1 7
1 9
1 12
1 14
1 15
1 18
1 19
1 22
1 24
1 27
1 29
1 32
1 33
1 34
1 37
1 39
1 40
1 41
1 43
1 45
1 48
1 50
1 53
1 55
1 59
1 60
1 62
1 65
1 69
1 71
1 74
1 77
1 78
1 81
1 82
1 84
1 85
1 89
1 93
1 94
1 96
1 97
1 105
1 107
1 109
1 110
1 112
1 114
1 116
1 118
1 120
1 122
1 125
1 127
...

output:

9ff923928e5675d6f7ae686fcfb20beac84bc7b1a47cf13bde24b59497bcae3b4900097049e1c568aa409defdbadf4cfc599c0e496e22068170cce547295ffa4
Incorrect answer.

Subtask #2:

score: 0
Wrong Answer

Test #13:

score: 0
Wrong Answer
time: 0ms = 0ms + 0ms
memory: 1868kb,1868kb

input:

1
17476204

output:

a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022
1
5000
1 2
2 3
1 4
2 5
1 6
1 7
2 8
1 9
2 10
1 11
1 12
2 13
1 14
1 15
1 16
2 17
2 18
1 19
2 20
2 21
2 22
2 23
1 24
2 25
1 26
1 27
2 28
1 29
2 30
2 31
1 32
1 33
1 34
1 35
2 ...

input:

a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022
1
5000
1 2
2 3
1 4
2 5
1 6
1 7
2 8
1 9
2 10
1 11
1 12
2 13
1 14
1 15
1 16
2 17
2 18
1 19
2 20
2 21
2 22
2 23
1 24
2 25
1 26
1 27
2 28
1 29
2 30
2 31
1 32
1 33
1 34
1 35
2 ...

output:

2
5000 4217
1 2
1 4
1 7
1 9
1 12
1 14
1 15
1 16
1 19
1 24
1 26
1 27
1 29
1 32
1 33
1 34
1 35
1 37
1 39
1 40
1 43
1 45
1 50
1 53
1 55
1 59
1 60
1 62
1 64
1 65
1 69
1 71
1 74
1 77
1 78
1 81
1 82
1 84
1 85
1 89
1 93
1 96
1 105
1 107
1 109
1 110
1 112
1 114
1 119
1 120
1 125
1 127
1 132
1 135
1 136
1 13...

input:

2
5000 4217
1 2
1 4
1 7
1 9
1 12
1 14
1 15
1 16
1 19
1 24
1 26
1 27
1 29
1 32
1 33
1 34
1 35
1 37
1 39
1 40
1 43
1 45
1 50
1 53
1 55
1 59
1 60
1 62
1 64
1 65
1 69
1 71
1 74
1 77
1 78
1 81
1 82
1 84
1 85
1 89
1 93
1 96
1 105
1 107
1 109
1 110
1 112
1 114
1 119
1 120
1 125
1 127
1 132
1 135
1 136
1 13...

output:

9ff923928e5675d6f7ae686fcfb20beac84bc7b1a47cf13bde24b59497bcae3b4900097049e1c568aa409defdbadf4cfc599c0e496e22068170cce547295ffa4
Incorrect answer.

Subtask #3:

score: 0
Wrong Answer

Test #25:

score: 0
Wrong Answer
time: 0ms = 0ms + 0ms
memory: 1868kb,1872kb

input:

1
355365355024496523

output:

a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022
1
5000
1 2
1 3
1 4
1 5
2 6
2 7
2 8
1 9
2 10
2 11
1 12
1 13
2 14
2 15
1 16
1 17
2 18
1 19
2 20
2 21
1 22
1 23
1 24
1 25
2 26
2 27
2 28
2 29
1 30
1 31
2 32
2 33
2 34
1 35
2 ...

input:

a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022
1
5000
1 2
1 3
1 4
1 5
2 6
2 7
2 8
1 9
2 10
2 11
1 12
1 13
2 14
2 15
1 16
1 17
2 18
1 19
2 20
2 21
1 22
1 23
1 24
1 25
2 26
2 27
2 28
2 29
1 30
1 31
2 32
2 33
2 34
1 35
2 ...

output:

2
5000 4217
1 2
1 4
1 5
1 9
1 12
1 16
1 17
1 19
1 22
1 23
1 24
1 25
1 30
1 31
1 35
1 37
1 41
1 45
1 47
1 53
1 55
1 56
1 58
1 62
1 63
1 67
1 73
1 74
1 75
1 76
1 77
1 79
1 80
1 81
1 83
1 84
1 87
1 89
1 91
1 94
1 97
1 101
1 102
1 103
1 107
1 108
1 109
1 112
1 114
1 115
1 116
1 121
1 122
1 130
1 132
1 1...

input:

2
5000 4217
1 2
1 4
1 5
1 9
1 12
1 16
1 17
1 19
1 22
1 23
1 24
1 25
1 30
1 31
1 35
1 37
1 41
1 45
1 47
1 53
1 55
1 56
1 58
1 62
1 63
1 67
1 73
1 74
1 75
1 76
1 77
1 79
1 80
1 81
1 83
1 84
1 87
1 89
1 91
1 94
1 97
1 101
1 102
1 103
1 107
1 108
1 109
1 112
1 114
1 115
1 116
1 121
1 122
1 130
1 132
1 1...

output:

9ff923928e5675d6f7ae686fcfb20beac84bc7b1a47cf13bde24b59497bcae3b4900097049e1c568aa409defdbadf4cfc599c0e496e22068170cce547295ffa4
Incorrect answer.