QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#79459#2464. Taxed EditorZhaoZiLongWA 72ms4916kbC++1.2kb2023-02-20 09:06:042023-02-20 09:06:05

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 3372kb

input:

100 0
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 ...

output:

100

result:

ok single line: '100'

Test #2:

score: 0
Accepted
time: 2ms
memory: 3564kb

input:

100 0
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 6...

output:

1

result:

ok single line: '1'

Test #3:

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

input:

100 99
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 ...

output:

1

result:

ok single line: '1'

Test #4:

score: 0
Accepted
time: 2ms
memory: 3396kb

input:

100 0
1 40
1 41
1 42
1 3
1 20
1 4
1 5
1 86
1 87
1 13
1 14
1 1
1 15
1 16
1 18
1 19
1 21
1 22
1 93
1 94
1 74
1 95
1 96
1 23
1 25
1 29
1 30
1 31
1 53
1 54
1 88
1 89
1 17
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 75
1 55
1 56
1 57
1 58
1 59
1 60
1 61
1 62
1 63
1 64
1 65
1 66
1 67
1 68
1 69
1 70
1 71
1 72
1 73
1 ...

output:

1

result:

ok single line: '1'

Test #5:

score: 0
Accepted
time: 2ms
memory: 3376kb

input:

100 0
2 40
2 41
2 42
2 3
2 20
2 4
2 5
2 86
2 87
2 13
2 14
2 1
2 15
2 16
2 18
2 19
2 21
2 22
2 93
2 94
2 74
2 95
2 96
2 23
2 25
2 29
2 30
2 31
2 53
2 54
2 88
2 89
2 17
2 6
2 7
2 8
2 9
2 10
2 11
2 12
2 75
2 55
2 56
2 57
2 58
2 59
2 60
2 61
2 62
2 63
2 64
2 65
2 66
2 67
2 68
2 69
2 70
2 71
2 72
2 73
2 ...

output:

2

result:

ok single line: '2'

Test #6:

score: 0
Accepted
time: 2ms
memory: 3404kb

input:

100 1
2 40
2 41
2 42
2 3
2 20
2 4
2 5
2 86
2 87
2 13
2 14
2 1
2 15
2 16
2 18
2 19
2 21
2 22
2 93
2 94
2 74
2 95
2 96
2 23
2 25
2 29
2 30
2 31
2 53
2 54
2 88
2 89
2 17
2 6
2 7
2 8
2 9
2 10
2 11
2 12
2 75
2 55
2 56
2 57
2 58
2 59
2 60
2 61
2 62
2 63
2 64
2 65
2 66
2 67
2 68
2 69
2 70
2 71
2 72
2 73
2 ...

output:

2

result:

ok single line: '2'

Test #7:

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

input:

100 50
2 40
2 41
2 42
2 3
2 20
2 4
2 5
2 86
2 87
2 13
2 14
2 1
2 15
2 16
2 18
2 19
2 21
2 22
2 93
2 94
2 74
2 95
2 96
2 23
2 25
2 29
2 30
2 31
2 53
2 54
2 88
2 89
2 17
2 6
2 7
2 8
2 9
2 10
2 11
2 12
2 75
2 55
2 56
2 57
2 58
2 59
2 60
2 61
2 62
2 63
2 64
2 65
2 66
2 67
2 68
2 69
2 70
2 71
2 72
2 73
2...

output:

1

result:

ok single line: '1'

Test #8:

score: -100
Wrong Answer
time: 72ms
memory: 4916kb

input:

100000 0
1000000000 1
1000000000 1
1000000000 1
1000000000 1
1000000000 1
1000000000 1
1000000000 1
1000000000 1
1000000000 1
1000000000 1
1000000000 1
1000000000 1
1000000000 1
1000000000 1
1000000000 1
1000000000 1
1000000000 1
1000000000 1
1000000000 1
1000000000 1
1000000000 1
1000000000 1
10000...

output:

-1

result:

wrong answer 1st lines differ - expected: '100000000000000', found: '-1'