Search found 516 matches

Sun Sep 23, 2012 5:39 pm
Forum: Volume 116 (11600-11699)
Topic: 11614 - Etruscan Warriors Never Play Chess
Replies: 13
Views: 4367

Re: 11614

I used 'unsigned long long'
Sun Jan 08, 2012 5:50 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 172816

Re: WA on Problem 100

what if i == j ?
Sun Jan 01, 2012 3:17 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 172816

Re: If you get WA in problem 100, read me before post!

minNum != maxNum

should be

minNum <= maxNum
Fri Dec 09, 2011 9:28 am
Forum: Volume 9 (900-999)
Topic: 907 - Winterim Backpacking Trip
Replies: 8
Views: 9621

Re: 907 - Winterim Backpacking Trip

We're not supposed to post a AC code here..
Sun Dec 04, 2011 11:14 am
Forum: Bugs and suggestions
Topic: No permission to access to the forum for vol CXXI, CXXII, ..
Replies: 2
Views: 1749

No permission to access to the forum for vol CXXI, CXXII, ..

It gives me this message..
You do not have the required permissions to read topics within this forum
There hasn't been a new thread for a while, maybe other users don't have a permission either..
Sat Dec 03, 2011 6:02 am
Forum: Volume 4 (400-499)
Topic: 488 - Triangle Wave
Replies: 270
Views: 28745

Re: 488-Triangle Wave -why WA?

http://acm.uva.es/board/viewtopic.php?f=5&t=10991

Remove your code if you get AC
Sat Nov 26, 2011 6:53 pm
Forum: Volume 3 (300-399)
Topic: 382 - Perfection
Replies: 95
Views: 18054

Re: 382 Why wrong ans?

1 is not a proper divisor of 1
Sat Nov 26, 2011 3:40 pm
Forum: Volume 12 (1200-1299)
Topic: 1246 - Find Terrorists
Replies: 3
Views: 2649

Re: 1246 ---- WA >> Plaese help.....

input

Code: Select all

1
0 100
My output

Code: Select all

2 3 4 5 7 9 11 13 16 17 19 23 25 29 31 37 41 43 47 49 53 59 61 64 67 71 73 79 81 83 89 97
My AC code also assume that H is always greater than or equal to L
Fri Sep 09, 2011 3:10 pm
Forum: ACM ICPC Archive Board
Topic: 4341 - Word Counting
Replies: 1
Views: 2103

Re: 4341 - Word Counting

Try this

char st[300000]

char *st
Wed Jun 01, 2011 5:32 pm
Forum: Volume 114 (11400-11499)
Topic: 11479 - Is this the easiest problem?
Replies: 48
Views: 16882

Re: 11479 - Is this the Easiest Problem?

Try this case..

Code: Select all

1
1 2 3

My output is..

Code: Select all

Case 1: Invalid
Wed Jun 01, 2011 5:26 pm
Forum: Volume 108 (10800-10899)
Topic: 10803 - Thunder Mountain
Replies: 47
Views: 23278

Re: 10803 - Thunder Mountain

Try this case..

Code: Select all

1
4
0 0
1 0
20 0
21 0
My output is..

Code: Select all

Case #1:
Send Kurdy

Fri May 06, 2011 5:15 pm
Forum: Volume 109 (10900-10999)
Topic: 10927 - Bright Lights
Replies: 26
Views: 13409

Re: 10927 - Bright lights

valvooo wrote:What is the answer for:

Code: Select all

1
1 1 0
and

Code: Select all

2
1 1 0
2 2 0
Cause i don't know where is wrong...

My AC code returns..

Code: Select all

Data set 1:
All the lights are visible.
Data set 2:
Some lights are not visible:
x = 2, y = 2.
Sun Feb 27, 2011 1:28 pm
Forum: Volume 119 (11900-11999)
Topic: 11934 - Magic Formula
Replies: 6
Views: 3041

Re: 11934 - Magic Formula

Yes.. the description is confusing..
The formula is

f(x) = a*x*x + b*x + c

The sample out is also wrong..
Thu Feb 10, 2011 4:47 pm
Forum: Volume 103 (10300-10399)
Topic: 10369 - Arctic Network
Replies: 45
Views: 23636

Re: 10369 - Arctic Network

Can someone who has solved this problem let me know what answer they get for the following input? 1 4 23 2414 6028 1010 1508 4244 743 9021 2690 1265 5478 2918 5462 3574 8662 7098 5207 4110 2662 2624 748 651 5884 3873 6556 8707 397 7093 3177 5930 1904 2427 3786 5994 7001 1636 5094 7332 5012 6034 125...
Fri Feb 04, 2011 4:01 pm
Forum: Volume 7 (700-799)
Topic: 743 - The MTM Machine
Replies: 12
Views: 7438

Re: 743 - The MTM Machine

Thnx Helloneo... I misunderstood the problem.I was checking from the end of number and repeating the process recursively as Jan explained.For example:For input 323289 at first i found x=289 which results Y=89 and as according to rule 3 it produces 89289 .So number becomes 3289289...recursively agai...