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: 6710
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: 293331
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: 293331
Re: If you get WA in problem 100, read me before post!
minNum != maxNum
should be
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: 11689
Re: 907 - Winterim Backpacking Trip
We're not supposed to post a AC code here..
Please remove it..
Please remove it..
- 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: 2248
No permission to access to the forum for vol CXXI, CXXII, ..
I can't access to the forum for volume CXXI, CXXII, CXXIII
It gives me this message..
It gives me this message..
There hasn't been a new thread for a while, maybe other users don't have a permission either..You do not have the required permissions to read topics within this forum
- Sat Dec 03, 2011 6:02 am
- Forum: Volume 4 (400-499)
- Topic: 488 - Triangle Wave
- Replies: 270
- Views: 59352
- Sat Nov 26, 2011 6:53 pm
- Forum: Volume 3 (300-399)
- Topic: 382 - Perfection
- Replies: 95
- Views: 31820
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: 3396
Re: 1246 ---- WA >> Plaese help.....
input
My output
My AC code also assume that H is always greater than or equal to L
Code: Select all
1
0 100
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
- Fri Sep 09, 2011 3:10 pm
- Forum: ACM ICPC Archive Board
- Topic: 4341 - Word Counting
- Replies: 1
- Views: 2948
Re: 4341 - Word Counting
Try this
char st[300000]
instead of
char *st
char st[300000]
instead of
char *st
- Wed Jun 01, 2011 5:32 pm
- Forum: Volume 114 (11400-11499)
- Topic: 11479 - Is this the easiest problem?
- Replies: 48
- Views: 24825
- Wed Jun 01, 2011 5:26 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10803 - Thunder Mountain
- Replies: 47
- Views: 28767
Re: 10803 - Thunder Mountain
Try this case..
My output is..
Code: Select all
1
4
0 0
1 0
20 0
21 0
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: 17680
Re: 10927 - Bright lights
valvooo wrote:What is the answer for:andCode: Select all
1 1 1 0
Cause i don't know where is wrong...Code: Select all
2 1 1 0 2 2 0
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: 4212
Re: 11934 - Magic Formula
Yes.. the description is confusing.. ![:)](./images/smilies/icon_smile.gif)
The formula is
f(x) = a*x*x + b*x + c
The sample out is also wrong..
![:)](./images/smilies/icon_smile.gif)
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: 30038
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: 8718
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...