QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#44547#4617. Arithmetic SubsequenceMaMengQiTL 0ms0kbC++171.7kb2022-08-19 03:20:512022-08-19 03:20:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Time Limit Exceeded

input:

25
4
3 6 8 9
5
1 1 1 1 1
5000
204869248 184063453 335277313 805198752 988635160 266844506 494544568 842685418 516257494 110006739 727397507 931812983 898605116 670474885 536302721 818724782 251547299 883494814 479828194 573135914 408419766 283100869 472145517 996777784 393702645 555881361 835407611 ...

output:

YES
3 9 6 8 
NO
YES
118697 123402 221489 381298 1307682 1503842 1815040 1885801 2044243 2302536 2337188 2433041 2630594 2646161 3360673 3645753 3742706 4005632 4178104 4626349 4673523 4726868 4803659 4901802 5140420 5463421 5526339 5867479 824015157 5974645 6161348 6322243 6340057 7867364 9051714 90...

result: