Search found 8 matches

by hyperion
Fri Aug 07, 2009 8:31 pm
Forum: Volume 116 (11600-11699)
Topic: 11610 - Reverse Prime
Replies: 7
Views: 3477

Re: 11610 - Reverse Prime

Hi Igor9669,

I think you assumed that deletion commands are given in ascending order and your program fails when deletion commands are given out of order..

try this input:
q 0
q 1
q 2
d 1000240
d 1000070
d 1000090
q 0
q 1

the correct output for the input above is:
4
10
16
3
7
by hyperion
Mon Aug 04, 2008 10:33 pm
Forum: Volume 114 (11400-11499)
Topic: 11476 - Factorizing Large Integers
Replies: 17
Views: 8850

Re: 11476

I've used Fermat's Factorization in my code, but unfortunately I'm getting Wrong Answer. I've tested my program with big primes and semiprimes in range and it works well. It's a little confusing too, because my code consumes just about 30 miliseconds on UVa's judge (I'm not sure my code is really th...
by hyperion
Sat Jul 29, 2006 8:58 am
Forum: C++
Topic: Compile Error on using STL set...
Replies: 2
Views: 1782

Thanks alot misof, you are a real guru
:D
by hyperion
Tue Jul 25, 2006 10:44 am
Forum: Off topic (General chit-chat)
Topic: What game do you like best?
Replies: 17
Views: 63013

My two favourite games are :
  • Little Fighter 2 (v1.9)
    N (ninja -- it's a fabulous flash game)
Download and play them, You will enjoy them.. :D
by hyperion
Tue Jul 25, 2006 10:33 am
Forum: Off topic (General chit-chat)
Topic: How many language do you know?
Replies: 32
Views: 16824

Mine is:
BASIC, Pascal, C, C++, VC, Delphi, Java, PHP, BrainF**k, BashScript, Haskell, JavaScript, Assembly
by hyperion
Tue Jul 25, 2006 7:22 am
Forum: C++
Topic: Compile Error on using STL set...
Replies: 2
Views: 1782

Compile Error on using STL set...

I don't know why this gets compile error, I found out that OJ gives compile error just when I use find function on a class templated set like the code below, can anyone help me out how can I use the find function on set... #include <set> #include <iostream> using namespace std; class Test { public :...
by hyperion
Sun Aug 14, 2005 3:20 pm
Forum: Volume 7 (700-799)
Topic: 790 - Head Judge Headache
Replies: 49
Views: 16090

Hi !
I've done all of the hints above in my code
but i'm still getting WA :( ,
can anyone help me with some test cases,
thank further.....
by hyperion
Sun Aug 07, 2005 2:40 pm
Forum: Volume 3 (300-399)
Topic: 391 - Mark-up
Replies: 16
Views: 4594

May this helps you !

Hi Navid, Test this input to your program, it should generate the output below which my Accepted Code generated. Hope you figure out your problem with this test cases. :D Input : \s3.4a\sb\s.5c\s100.d\s12e \*\b no translation should occur *\\ \b*\s3.*\* /i/b/s\bb\ii\ss \**\\***\\*\*\* \* \\ \* \\ \n...

Go to advanced search