QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#44556#4617. Arithmetic SubsequenceDianasDog#AC ✓64ms5568kbC++1.2kb2022-08-19 09:19:382022-08-19 09:19:39

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 64ms
memory: 5568kb

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
997457919 28540927 168284159 30561279 392485887 618477055 33609215 425276159 80450303 20466943 766389503 937493759 266813311 234127231 315469695 642043775 876816255 905333631 953092479 284389759 786805119 126109311 668253311 907828351 548105343 857108607 689291391 187678847 92700...

result:

ok