Search found 6 matches

by Bella Swan
Wed Mar 30, 2011 6:01 pm
Forum: Volume 3 (300-399)
Topic: 332 - Rational Numbers from Repeating Fractions
Replies: 83
Views: 20679

Re: 332 - Rational Numbers from Repeating Fractions

View solution here which does not contain any floating point process

http://acmsolutionuva119.blogspot.com/2 ... ating.html
by Bella Swan
Thu Dec 02, 2010 9:41 am
Forum: Volume 118 (11800-11899)
Topic: 11876 - N + NOD (N)
Replies: 9
Views: 4560

Re: 11876 - N + NOD(N)

Hi, Naseef! there are 64725 numbers in this sequence. if you can find all of them, you can easily get accepted. here're some i/o from my ac code. hope it will help. Input: 5 1 1000000 1 5635 1 50000 58963 1000000 75698 321478 Output: Case 1: 64725 Case 2: 619 Case 3: 4361 Case 4: 59717 Case 5: 16637...
by Bella Swan
Sat Nov 27, 2010 10:55 pm
Forum: Volume 118 (11800-11899)
Topic: 11876 - N + NOD (N)
Replies: 9
Views: 4560

Re: 11876 - N + NOD(N)

@ItaloSpedini, did u solve the problem uva 294 called divisors? If u didn't then go to steven halim's site and try to find the number of total divisor of an integer that way using prime factorization. It's a bit tricky to do it within time limit but i think u can do it if u give the matter a deep th...
by Bella Swan
Sun Jul 04, 2010 12:27 am
Forum: Volume 4 (400-499)
Topic: 454 - Anagrams
Replies: 97
Views: 21815

Re: 454 - Anagrams

Can someone please check this code for me? Judges' feedback for this code is wrong answer. I modified it several times to get it working like this thread's outputs (not counting duplicate strings) and an acc code's outputs (takes only alphanumeric characters and digits). But in vain. #include<cstdio...
by Bella Swan
Wed Jun 30, 2010 9:57 am
Forum: Volume 117 (11700-11799)
Topic: 11776 - Oh Your Royal Greediness!
Replies: 4
Views: 2762

Re: 11776 - Oh Your Royal Greediness!

Hope you had got your code accepted by this time. If not try this cases. It could be useful for others anyway. Input: 1 0 0 10 0 0 0 3 4 9 5 25 6 27 10 36 11 19 25 37 26 33 34 267 10 2 13 12 16 13 70 15 32 16 71 26 50 32 56 33 67 51 75 76 89 -1 Output should be Case 1: 0 Case 2: 4 Case 3: 5 Your cod...
by Bella Swan
Tue Jun 29, 2010 7:40 pm
Forum: Volume 117 (11700-11799)
Topic: 11797 - Drutojan Express
Replies: 14
Views: 4768

Re: 11797-WA!

Array size was the trouble.

Code: Select all

AC

Go to advanced search