Search found 111 matches

by arsalan_mousavian
Mon Aug 03, 2009 3:19 pm
Forum: Volume 116 (11600-11699)
Topic: 11644 - Pyragrid
Replies: 1
Views: 752

11644 - Pyragrid

Can some body provide me with some test cases? I am getting wrong answer on this problem.
by arsalan_mousavian
Wed Jan 23, 2008 9:53 am
Forum: Volume 114 (11400-11499)
Topic: 11403 - Binary Multiplication
Replies: 25
Views: 12632

Well, i think many of us had the same problem. Someone can say that there was a clarification, but as it was written ( "There's an empty line after each test case." ), i misunderstood the clarification, and i thought that there was a line after each case in the input. Anyway, it was a nic...
by arsalan_mousavian
Tue Jan 22, 2008 11:53 pm
Forum: Volume 114 (11400-11499)
Topic: 11403 - Binary Multiplication
Replies: 25
Views: 12632

Your code gets AC if you print a new line after each test case (also do not print a newline before the first test case as you do now). Furthermore you should not print blanks after the digits. Thanks a lot, i got Acc, BTW i've found the trailing space bug before your post and i've submited and i go...
by arsalan_mousavian
Tue Jan 22, 2008 11:23 pm
Forum: Volume 114 (11400-11499)
Topic: 11403 - Binary Multiplication
Replies: 25
Views: 12632

These are 3 clarifications about this problem, sent during the real contest:
1.The last line with a couple of 0s are missing from the input file. The input terminates with EOF.
2.No binary number in the input file will be equal to 0 or have leading 0.
3.There's an empty line after each test case.
by arsalan_mousavian
Tue Jan 22, 2008 11:19 pm
Forum: Volume 114 (11400-11499)
Topic: 11403 - Binary Multiplication
Replies: 25
Views: 12632

11403 - Binary Multiplication

I've got many WAs on this problem, would you please take a look at my code???? // removed input: 101010111 101011 101 1 1 101 11111 1111 111111111111111111111111111111 111111111111111111111111111111 1 1 Output: 101010111 101011 --------- 101010111 101010111 000000000 101010111 000000000 101010111 --...
by arsalan_mousavian
Sun Jan 20, 2008 12:09 am
Forum: Volume 113 (11300-11399)
Topic: 11394 - Digit Blocks
Replies: 18
Views: 11049

I am getting TLE on this "easy" problem, can anybody take a look at my code and tell me why....????

Code: Select all

Accepted after writing my dynamic solution recursively!!!!!
by arsalan_mousavian
Fri Sep 28, 2007 8:00 pm
Forum: Bugs and suggestions
Topic: Is there any way to change password?
Replies: 1
Views: 3237

Is there any way to change password?

I can't find anything related to changing the password in new server, maybe someone can help me.

Thanks in advance
by arsalan_mousavian
Mon Sep 17, 2007 2:06 pm
Forum: Bugs and suggestions
Topic: New Server: The page isn't redirecting properly
Replies: 1
Views: 2334

New Server: The page isn't redirecting properly

I am having problem to view the new server pages from my pc at home(but it is ok on my laptop), and in both systems firefox 2.0 has been installed, but whenever i try to visit it from my pc(with firefox) it gives me that error, but it works on my internet explorer on pc at the snail pace. does anybo...
by arsalan_mousavian
Fri Sep 07, 2007 6:08 pm
Forum: Bugs and suggestions
Topic: Problem with New Server
Replies: 2
Views: 2718

Problem with New Server

I can't visit http://icpcres.ecs.baylor.edu/onlinejudge/ :((, is the server down or i can't visit it?
by arsalan_mousavian
Sun Jul 08, 2007 7:17 pm
Forum: Volume 112 (11200-11299)
Topic: 11232 - Cylinder
Replies: 34
Views: 18212

i've got many WAs during the contest and after contest, can somebody tell me why my solution is wrong
here is my code:

Code: Select all

//removed
by arsalan_mousavian
Sun Mar 04, 2007 11:13 pm
Forum: Volume 111 (11100-11199)
Topic: 11190 - Series of Powers
Replies: 18
Views: 12948

sclo wrote:Try this case:

Code: Select all

0 0 15000000
thanks a lot for your testcase, the only testcase that cause me lots of TLEs during the contest was that testcase, and my solution complexity is O(n*logk)
by arsalan_mousavian
Sun Mar 04, 2007 8:55 pm
Forum: Volume 111 (11100-11199)
Topic: 11191 - Square
Replies: 23
Views: 15348

now i 've got WA, can somebody give me some tricky testcases, here is my code

Code: Select all

removed after getting AC
by arsalan_mousavian
Sun Mar 04, 2007 6:31 pm
Forum: Volume 111 (11100-11199)
Topic: 11191 - Square
Replies: 23
Views: 15348

11191 - Square

i have no idea how to calculate Y in O(N), i have solved the problem for the value of X already, can anybody give me a hint without spoiling the problem?
by arsalan_mousavian
Sun Mar 04, 2007 6:25 pm
Forum: Volume 111 (11100-11199)
Topic: 11192 - Group Reverse
Replies: 22
Views: 14583

your program fails on

Code: Select all

1 abcde
the output should be:

Code: Select all

edcba
have fun
by arsalan_mousavian
Mon Feb 26, 2007 4:52 pm
Forum: Volume 111 (11100-11199)
Topic: 11184 - Joyful Ride
Replies: 11
Views: 8623

Hadi wrote:
arsalan_mousavian wrote:i think i solved the problem in O(N^2) but i've got TLE, does anybody know any faster algorithm?
I know! :roll:
how? can u give me a hint please?

Go to advanced search