QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#497070#866. Display of SpringsHuangHanShengTL 0ms0kbC++202.2kb2024-07-28 18:44:142024-07-28 18:44:14

詳細信息

Test #1:

score: 0
Time Limit Exceeded

input:

3
SECOND
FIRST
FIRST
SECOND
FIRST
FIRST
SECOND
FIRST
FIRST
SECOND
FIRST
FIRST
SECOND
FIRST
FIRST
SECOND
FIRST
FIRST
SECOND
FIRST
FIRST
SECOND
FIRST
FIRST
SECOND
FIRST
FIRST
SECOND
FIRST
FIRST
SECOND
FIRST
FIRST
SECOND
FIRST
FIRST
SECOND
FIRST
FIRST
SECOND
FIRST
FIRST
SECOND
FIRST
SECOND
EQUAL
FIRST
...

output:

? 2 1 1
? 2 1 100000
? 2 1 50000
? 2 1 1
? 2 1 50000
? 2 1 25000
? 2 1 1
? 2 1 25000
? 2 1 12500
? 2 1 1
? 2 1 12500
? 2 1 6250
? 2 1 1
? 2 1 6250
? 2 1 3125
? 2 1 1
? 2 1 3125
? 2 1 1563
? 2 1 1
? 2 1 1563
? 2 1 782
? 2 1 1
? 2 1 782
? 2 1 391
? 2 1 1
? 2 1 391
? 2 1 196
? 2 1 1
? 2 1 196
? 2 1 98
...

result: