Page 2 of 2

Posted: Wed Feb 13, 2008 6:35 am
by Saul Hidalgo
:oops: :oops: thanks Rio. Sorry me. When i read the first post the first time, I could not understand, the following code:

Code: Select all

aab
abb

abb
aab 
But now i understand.

I got AC. Thanks, very thanks to Rio for help me. :wink:

Re: 11310 - Delivery Debacle

Posted: Thu May 22, 2008 2:31 pm
by lnr
Thanks.

Re: 11310 - Delivery Debacle

Posted: Sun Jul 22, 2012 11:24 pm
by hananahmad114
please i keep getting WA in this and i have no idea what i'm doing wrong, any help would be greatly appreciated :)
there's my code :

Re: 11310 - Delivery Debacle

Posted: Tue Jul 24, 2012 1:49 am
by brianfry713
Change it to class Main and you'll get AC.

Re: 11310 - Delivery Debacle

Posted: Thu Nov 06, 2014 11:16 am
by Shahidul.CSE
Sample input:

Code: Select all

40
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Sample output:

Code: Select all

1
5
11
33
87
241
655
1793
4895
13377
36543
99841
272767
745217
2035967
5562369
15196671
41518081
113429503
309895169
846649343
2313089025
6319476735
17265131521
47169216511
128868696065
352075825151
961889042433
2627929735167
7179637555201
19615134580735
53589544271873
146409357705215
399997803954177
1092814323318783
2985624254545921
8156877155729407
22285002820550657
60883759952560127
166337525546221569