Anyone give me some I/O? I don't why got many WA.... Is there any tricky cases?
Thanks!
11431 - Partitioning a Number
Moderator: Board moderators
Re: 11431 - Partitioning a Number
I don't find any coz of getting WA.anyone please check my output for the following input...
Input:
My Output:
Input:
Code: Select all
1000000000000000000
100000000000000000
100000000000000
888888888888888
54564645646464646
1025
65537
2121513121
100
1000545
11111111111111
454545645646545
0
Code: Select all
Case 1: 2504730781961
Case 2: 591286729879
Case 3: 4807526976
Case 4: 20365011074
Case 5: 365435296162
Case 6: 89
Case 7: 1597
Case 8: 2178309
Case 9: 21
Case 10: 10946
Case 11: 969323029
Case 12: 12586269025
Re: 11431 - Partitioning a Number
My ac code gets same output for your input
Re: 11431 - Partitioning a Number
Still getting WA.I also checked my program with an ineff BF program.Here is my code..
anyone please help me to find out the coz of getting WA.
Code: Select all
AC.......
Last edited by mmonish on Wed Jun 11, 2008 5:53 pm, edited 1 time in total.
Re: 11431 - Partitioning a Number
still no reply..
I dont even find the coz of getting WA..
I dont even find the coz of getting WA..
Re: 11431 - Partitioning a Number
Sometimes your code does not work for an input<=3.
Re: 11431 - Partitioning a Number
Thx sunny..
some silly mistake in coding.
some silly mistake in coding.