Search found 84 matches

by vahid sanei
Sat Feb 14, 2009 5:46 pm
Forum: Volume 7 (700-799)
Topic: 701 - The Archeologists' Dilemma
Replies: 43
Views: 28088

Re: 701 - The Archeologists' Dilemma

to ranban
I got Acc with your code
you can use ceill instead of ceil
by vahid sanei
Sat Feb 14, 2009 5:05 pm
Forum: Volume 7 (700-799)
Topic: 701 - The Archeologists' Dilemma
Replies: 43
Views: 28088

Re: 701 - The Archeologists' Dilemma

I got time limit for this tescase n = 2147483647
but i got Acc
could you help me for solving this test case ?
(" I know we can`t prove that "n is`nt a part of power of 2" because of numbers are infinity so we should`nt print "no power of 2"
Thanks in advance :wink:
by vahid sanei
Wed Feb 11, 2009 10:15 am
Forum: Volume 1 (100-199)
Topic: 120 - Stacks of Flapjacks
Replies: 118
Views: 13411

Re: 120 Still WA. If you get AC, please try this input.

Accepted
by vahid sanei
Tue Feb 10, 2009 4:41 pm
Forum: Volume 3 (300-399)
Topic: 356 - Square Pegs And Round Holes
Replies: 41
Views: 6395

Re: 356 WA

Why i get Wrong ? plz Help me here is my code : #include "iostream" #include "istream" #include "fstream" #include "cctype" #include "cstdlib" #include "map" #include "cmath" #include "vector" #include "string" #include "set" #include "algorithm" #include "sstream" #include "ctime" #include "stack" ...
by vahid sanei
Tue Feb 10, 2009 10:46 am
Forum: Volume 101 (10100-10199)
Topic: 10101 - Bangla Numbers
Replies: 122
Views: 27891

Re: 10101 - Bangla Numbers

Obaida
What is "sata" ? :D
by vahid sanei
Tue Feb 10, 2009 9:25 am
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 61279

Re: 10200 - Prime Time

THANKS Jan
it works with eps :D
by vahid sanei
Mon Feb 09, 2009 10:33 am
Forum: Volume 106 (10600-10699)
Topic: 10611 - The Playboy Chimp
Replies: 44
Views: 17300

It`s not Impossible

i solved this problem with cin and cout in 0.430 sec
and with scanf and printf in 0.060 sec
how can i reduce time of my algorithm? ( i use Binary search for this pb)
thanks in advance :wink:
by vahid sanei
Fri Feb 06, 2009 10:31 am
Forum: Volume 111 (11100-11199)
Topic: 11185 - Ternary
Replies: 34
Views: 13869

Re: 11185 - Ternary

here is my Acc code

Code: Select all

 code removed by moderator!
i want know other solution for converting a numbers to other base
thanks in advance
by vahid sanei
Fri Feb 06, 2009 10:13 am
Forum: Volume 105 (10500-10599)
Topic: 10573 - Geometry Paradox
Replies: 33
Views: 11920

Re: 10573 - Geometry Paradox

these kind of problems just waste our time
why "t" is diameter ???
in image in the problem "t" is`nt diameter :D
so i have some other test cases
in the problem problem setter says "All these integers are less than 100" so
can you solve these test cases? :

Code: Select all

-1 -2
-100
0 -100
by vahid sanei
Thu Feb 05, 2009 11:05 am
Forum: Volume 102 (10200-10299)
Topic: 10209 - Is This Integration ?
Replies: 37
Views: 12243

Re: 10209 - Is This Integration ?

:oops:
just i changed long double to double ,
and i got acc
it`s very strange
already i tested this but i got WA , I don`t know
TY Obaida :D
by vahid sanei
Thu Feb 05, 2009 9:48 am
Forum: Volume 102 (10200-10299)
Topic: 10209 - Is This Integration ?
Replies: 37
Views: 12243

Re: 10209 - Is This Integration ?

why i get WA
I`m sure my solution is correct
PLEASE HELP ME

Code: Select all

removed
by vahid sanei
Sat Jan 24, 2009 2:32 pm
Forum: Volume 109 (10900-10999)
Topic: 10973 - Triangle Counting
Replies: 31
Views: 13296

Re: 10973 - Triangle Counting

Code: Select all

Accepted
by vahid sanei
Sat Jan 24, 2009 12:14 pm
Forum: Volume 112 (11200-11299)
Topic: 11232 - Cylinder
Replies: 34
Views: 15396

Re: 11232 - Cylinder

we have two state , w is CIRCUMFERENCE or x ( L - 2 * r ) be CIRCUMFERENCE

Code: Select all

 
Accepted 
by vahid sanei
Wed Jan 21, 2009 8:23 am
Forum: Volume 7 (700-799)
Topic: 713 - Adding Reversed Numbers
Replies: 142
Views: 40445

Re: 713 - Adding Reversed Numbers

why , you dont check the test case of problem ? :D
try these

Code: Select all

 24 1 (test case of problem !!!)
 1 24
 23 4
4 23
by vahid sanei
Sun Jan 18, 2009 1:46 pm
Forum: Volume 112 (11200-11299)
Topic: 11220 - Decoding the message.
Replies: 54
Views: 20523

Re: 11220 - Decoding the message

for output :
You must print a blank line between each test case.

Go to advanced search