Maximum Cyclic Segment Sum by hallvabo (embed)

\xef\xbb\xbfg=map(ord,"\x09\x17*e\x92\x16bb\x81\xa5$\x0c\r\x09\x16\x0b\x0c\x12\n\x1b\x05\x0f\x17\x1b\x02\x15\x0f\r\x08\x0e\x02\x14"[:id(id)%5*10+2]).pop
while 1:print((' '+raw_input())*2)[g():][:g()]

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page