11310 - Delivery Debacle

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

Saul Hidalgo
New poster
Posts: 18
Joined: Wed Jan 03, 2007 2:36 am
Location: Los Teques, Venezuela

Post 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:
lnr
Experienced poster
Posts: 142
Joined: Sat Jun 30, 2007 2:52 pm
Location: Dhaka,Bangladesh

Re: 11310 - Delivery Debacle

Post by lnr »

Thanks.
hananahmad114
New poster
Posts: 1
Joined: Sun Jul 22, 2012 11:18 pm

Re: 11310 - Delivery Debacle

Post 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 :
Last edited by hananahmad114 on Thu Nov 01, 2012 7:49 pm, edited 2 times in total.
brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 11310 - Delivery Debacle

Post by brianfry713 »

Change it to class Main and you'll get AC.
Check input and AC output for thousands of problems on uDebug!
Shahidul.CSE
Experienced poster
Posts: 148
Joined: Sun Jul 13, 2014 4:32 am
Location: Rangpur, Bangladesh

Re: 11310 - Delivery Debacle

Post 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
Md. Shahidul Islam
Dept. of CSE at Begum Rokeya University, Rangpur, Bangladesh
UVa id: http://uhunt.felix-halim.net/id/438420
My facebook account,
Email me: shahidul.cse.brur@gmail.com
Post Reply

Return to “Volume 113 (11300-11399)”