TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

2122
012345
1234056789
1
10000000101
36029876684872327223276091861774662608610223162723034888151363387203010595851738657652049668253881272890515660784035677067525183834661544848087851723448346801533058114299540857443030369316232988018148102669380121372486169252831678561382614915655998576309890629635683790711203458322644267079837101570104431120878401385924047425666758653777487585276695604516850642846132417308738061246868374025342568357451062064360049990141149470232486776259766559042782564618006706585886295436740966342057330943523869
11111111111111111111111111111111111111111111111111122222222222222111222222222222211122222222222221111200000000000021112000000000002111200000000000211112222220222222211120222222222221112022222222202111111111202111111111202222222222211120222222222021111111112021111111112000000000002111200000000000211111111120211111111122222222222021112022222222202111111111202111111111222222222220211120211111112021111111112021111111112000000000002111202111111120211111111122211111111122222222222221112221111111222111
89210

Sample Output 1

3
0
1555366
0
1
882582353
371459312
95

Hints

Problem Source

Migrated from old NTUJ.

TopCoder SRM

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 10000 65536 200