QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#497070#866. Display of SpringsHuangHanShengTL 0ms0kbC++202.2kb2024-07-28 18:44:142024-07-28 18:44:14

Details

Tip: Click on the bar to expand more detailed information

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: