Search found 7 matches

by clare
Wed Jul 11, 2007 7:09 pm
Forum: Volume 112 (11200-11299)
Topic: 11222 - Only I did it!
Replies: 14
Views: 7147

Hello everyone!
I keep getting WA all the time. A tried all the inputs above but it seems to be working just fine. Could anyone give me a hint. :(

Here is my code:

Code: Select all

 Code removed. Silly mistake 
Thanx in advance! :) :D
by clare
Fri Oct 06, 2006 10:59 pm
Forum: Volume 6 (600-699)
Topic: 628 - Passwords
Replies: 14
Views: 9622

628 - WA Passwords

Hello everyone! :P This seems to be an easy problem, but I keep getting WA. Is there any tricky input for it :-? . Here is my code: #include<iostream> #include<string> using namespace std; void do_something(string word) { for(int i=0; i<10; i++) { char for_rep = i +'0'; string test =""; test+= for_r...
by clare
Wed Aug 30, 2006 5:58 pm
Forum: Volume 105 (10500-10599)
Topic: 10551 - Basic Remains
Replies: 11
Views: 6070

10551 - WA

Hello everyone! I keep getting WA all the time and have no clue what the mistake is. :o Here is my code: #include<iostream> #include<string> #include<cmath> using namespace std; long long int convert_to_decimal(string num, int base) { long long int result=0; double power=0.0; double b = static_cast<...
by clare
Mon Aug 28, 2006 4:52 pm
Forum: Volume 8 (800-899)
Topic: 897 - Anagrammatic Primes
Replies: 21
Views: 12893

Finally AC :D ! You were right! That was the mistake.

Thanx! :wink:
by clare
Mon Aug 28, 2006 1:53 am
Forum: Volume 8 (800-899)
Topic: 897 - Anagrammatic Primes
Replies: 21
Views: 12893

Sorry, I don't see what u mean :oops: Of course that 1 is a power of ten.
But, one is the next power of ten that is greate than zero. However, in this problem zero marks the end of the input.

Am I wrong? :o
by clare
Sun Aug 27, 2006 4:28 pm
Forum: Volume 101 (10100-10199)
Topic: 10140 - Prime Distance
Replies: 17
Views: 7434

10140 TLE

Hello! I am getting TLE on this problem, although I found the list of prime numbers using sieve algorithm. :o Could someone plz take a look at my code and give me a hint to get AC :lol: Here it is: #include<iostream> #include<stdio.h> using namespace std; int main() { int L, U; while(cin>>L>>U) { in...
by clare
Wed Aug 23, 2006 5:25 pm
Forum: Volume 8 (800-899)
Topic: 897 - Anagrammatic Primes
Replies: 21
Views: 12893

897 WA Anagrammatic Primes

Hello everyone! I am getting WA with this code :cry: Could someone plz give me a hint. From the previous post I understood that anagrammatic primes are only in the range from 1 to 1000. Is that right? :o However, here is my code: #include<iostream> #include<string> #include<algorithm> #include<cmath...

Go to advanced search