10700 - Camel trading

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

Moderator: Board moderators

Experienced poster
Posts: 137
Joined: Fri Jul 01, 2005 12:21 am

Post by smilitude »

plz remove your 'nearly' AC code! :roll:
#include <smile.h>

Experienced poster
Posts: 162
Joined: Thu Jul 13, 2006 7:07 am
Location: Campus Area. Dhaka.Bangladesh

Post by newton »

i am sure the answer is 160000 and 16000.

Code: Select all

long long is enough to solve the problem.

simple. ....simply the best

Learning poster
Posts: 81
Joined: Wed May 09, 2007 9:59 pm
Location: (CSE,DU) Dhaka,Bangladesh

Post by turcse143 »

thanks a lot.
use concept of stack & take input in long long int
i got AC.
it very easy problem
''I want to be most laziest person in the world''

Post Reply

Return to “Volume 107 (10700-10799)”