QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#497176#9133. Function with Many MaximumsTiuntled-2 (Ziyan Wang, Ziyang Lu, Letao Zhang) AC ✓17ms6012kbC++14433b2024-07-28 20:36:152024-07-28 20:36:16

詳細信息

Test #1:

score: 100
Accepted
time: 13ms
memory: 6000kb

input:

4

output:

299998
500000099999 500000099998 500000099997 500000099996 500000099995 500000099994 500000099993 500000099992 500000099991 500000099990 500000099989 500000099988 500000099987 500000099986 500000099985 500000099984 500000099983 500000099982 500000099981 500000099980 500000099979 500000099978 5000000...

result:

ok n=299998, max_a=500000099999, max_num=100000 >= 4

Test #2:

score: 0
Accepted
time: 17ms
memory: 6012kb

input:

100000

output:

299998
500000099999 500000099998 500000099997 500000099996 500000099995 500000099994 500000099993 500000099992 500000099991 500000099990 500000099989 500000099988 500000099987 500000099986 500000099985 500000099984 500000099983 500000099982 500000099981 500000099980 500000099979 500000099978 5000000...

result:

ok n=299998, max_a=500000099999, max_num=100000 >= 100000

Extra Test:

score: 0
Extra Test Passed