11361 - Investigating Div-Sum Property

All about problems in Volume 113. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Wei-Ming Chen
Experienced poster
Posts: 122
Joined: Sun Nov 13, 2005 10:25 am
Location: Taiwan

Post by Wei-Ming Chen » Thu Jan 24, 2008 2:49 pm

oh~ how a WONDERFUL site it is.

I found out the bug and got accepted now.

Thanks very much!!! :D

dibery
Learning poster
Posts: 76
Joined: Sat Feb 23, 2013 4:16 pm
Location: Taiwan, Taipei
Contact:

Re: 11361 - Investigating Div-Sum Property

Post by dibery » Sun Feb 15, 2015 4:06 pm

Some simple and extreme cases.

Input:

Code: Select all

8
1 20 3
1 999 7
1 2147483640 2
1 2147483642 2
1 2147483644 2
1 2147483646 2
1 2147483647 2
1 2147483647 1
Accepted output:

Code: Select all

6
21
536870909
536870909
536870909
536870909
536870909
2147483647
Life shouldn't be null.

Post Reply

Return to “Volume 113 (11300-11399)”