QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#862511#9981. Collatz Conjectureucup-team2054#WA 1889ms3840kbC++173.8kb2025-01-19 02:12:532025-01-19 02:12:53

詳細信息

Test #1:

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

input:

7
2 1 1
2 1 2
2 1 3
2 1 100
314 159 265
314 159 2653
314 159 26535

output:

Yes
Yes
No
No
Yes
Yes
No

result:

ok 7 tokens

Test #2:

score: 0
Accepted
time: 590ms
memory: 3840kb

input:

100000
123 457 1
123 457 2
123 457 3
123 457 4
123 457 5
123 457 6
123 457 7
123 457 8
123 457 9
123 457 10
123 457 11
123 457 12
123 457 13
123 457 14
123 457 15
123 457 16
123 457 17
123 457 18
123 457 19
123 457 20
123 457 21
123 457 22
123 457 23
123 457 24
123 457 25
123 457 26
123 457 27
123 4...

output:

Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

result:

ok 100000 tokens

Test #3:

score: 0
Accepted
time: 74ms
memory: 3840kb

input:

100000
457 123 1
457 123 2
457 123 3
457 123 4
457 123 5
457 123 6
457 123 7
457 123 8
457 123 9
457 123 10
457 123 11
457 123 12
457 123 13
457 123 14
457 123 15
457 123 16
457 123 17
457 123 18
457 123 19
457 123 20
457 123 21
457 123 22
457 123 23
457 123 24
457 123 25
457 123 26
457 123 27
457 1...

output:

Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

result:

ok 100000 tokens

Test #4:

score: 0
Accepted
time: 1889ms
memory: 3712kb

input:

100000
3 100000 1
3 100000 2
3 100000 3
3 100000 4
3 100000 5
3 100000 6
3 100000 7
3 100000 8
3 100000 9
3 100000 10
3 100000 11
3 100000 12
3 100000 13
3 100000 14
3 100000 15
3 100000 16
3 100000 17
3 100000 18
3 100000 19
3 100000 20
3 100000 21
3 100000 22
3 100000 23
3 100000 24
3 100000 25
3 ...

output:

Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

result:

ok 100000 tokens

Test #5:

score: 0
Accepted
time: 19ms
memory: 3840kb

input:

100000
100000 3 1
100000 3 2
100000 3 3
100000 3 4
100000 3 5
100000 3 6
100000 3 7
100000 3 8
100000 3 9
100000 3 10
100000 3 11
100000 3 12
100000 3 13
100000 3 14
100000 3 15
100000 3 16
100000 3 17
100000 3 18
100000 3 19
100000 3 20
100000 3 21
100000 3 22
100000 3 23
100000 3 24
100000 3 25
10...

output:

Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

result:

ok 100000 tokens

Test #6:

score: 0
Accepted
time: 39ms
memory: 3840kb

input:

100000
1234 567 1
1234 567 2
1234 567 3
1234 567 4
1234 567 5
1234 567 6
1234 567 7
1234 567 8
1234 567 9
1234 567 10
1234 567 11
1234 567 12
1234 567 13
1234 567 14
1234 567 15
1234 567 16
1234 567 17
1234 567 18
1234 567 19
1234 567 20
1234 567 21
1234 567 22
1234 567 23
1234 567 24
1234 567 25
12...

output:

Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

result:

ok 100000 tokens

Test #7:

score: 0
Accepted
time: 683ms
memory: 3840kb

input:

100000
567 1234 1
567 1234 2
567 1234 3
567 1234 4
567 1234 5
567 1234 6
567 1234 7
567 1234 8
567 1234 9
567 1234 10
567 1234 11
567 1234 12
567 1234 13
567 1234 14
567 1234 15
567 1234 16
567 1234 17
567 1234 18
567 1234 19
567 1234 20
567 1234 21
567 1234 22
567 1234 23
567 1234 24
567 1234 25
56...

output:

Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

result:

ok 100000 tokens

Test #8:

score: -100
Wrong Answer
time: 1142ms
memory: 3712kb

input:

100000
11 20000 1
11 20000 2
11 20000 3
11 20000 4
11 20000 5
11 20000 6
11 20000 7
11 20000 8
11 20000 9
11 20000 10
11 20000 11
11 20000 12
11 20000 13
11 20000 14
11 20000 15
11 20000 16
11 20000 17
11 20000 18
11 20000 19
11 20000 20
11 20000 21
11 20000 22
11 20000 23
11 20000 24
11 20000 25
11...

output:

Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

result:

wrong answer 20011th words differ - expected: 'No', found: 'Yes'