Search found 44 matches
- Mon Oct 23, 2006 11:01 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11131 - Close Relatives
- Replies: 8
- Views: 4309
- Mon Oct 23, 2006 4:46 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11136 - Hoax or what
- Replies: 31
- Views: 23107
- Mon Oct 23, 2006 4:41 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11131 - Close Relatives
- Replies: 8
- Views: 4309
- Fri Jun 02, 2006 6:43 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11036 - Eventually Periodic Sequence
- Replies: 22
- Views: 8576
- Tue Nov 01, 2005 12:10 am
- Forum: Volume 109 (10900-10999)
- Topic: 10956 - Prime Suspect
- Replies: 24
- Views: 14894
I agree that it was a really interesting problem (made me learn a lot of things about the Miller-Rabin test), but the time limit was really too tight. Anyways, thanks for the tip, i "sieved" the interval instead of testing using Miller-Rabin and the problem ran in half the time: 0:02.877s. We did so ...
- Mon Oct 31, 2005 8:39 pm
- Forum: Volume 105 (10500-10599)
- Topic: 10557 - XYZZY
- Replies: 31
- Views: 20661
- Mon Oct 31, 2005 4:19 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10950 - Bad Code
- Replies: 19
- Views: 14162
- Mon Oct 31, 2005 4:12 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10957 - So Doku Checker
- Replies: 31
- Views: 20686
- Mon Oct 31, 2005 4:03 pm
- Forum: Volume 2 (200-299)
- Topic: 276 - Egyptian Multiplication
- Replies: 22
- Views: 9964
Here's a tip for anyone who's trying to solve this problem but keeps getting WA: don't worry about overflow (as I only used ints), print only the result % 100000 and if you read a blank line, terminate your program. It appears that the judge's input has one blank line at the end (and not a EOF as ...
- Sun Oct 30, 2005 3:07 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10956 - Prime Suspect
- Replies: 24
- Views: 14894
- Sun Oct 30, 2005 2:59 pm
- Forum: Other words
- Topic: time limits
- Replies: 7
- Views: 5297
- Sun Oct 30, 2005 2:52 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10950 - Bad Code
- Replies: 19
- Views: 14162
I'm sorry, but I don't think the above sample input is valid, since the problem clearly states that every character is replaced by a unique positive integer value So "a 0" is not a valid replacement, therefore the input is not valid. I'm not sure if there can be an input like "a 0001", but my AC ...
- Sat Oct 29, 2005 10:53 pm
- Forum: C++
- Topic: can anyone tell me good compile for c++
- Replies: 7
- Views: 3632
http://gcc.gnu.org/
Website of the GNU GCC project. Most linux distributions already come with gcc/g++. If yours doesn't, look for some guide on how to install it. If you use Windows as your OS you should probably give Cygwin a try:
http://www.cygwin.com
Hope it helps,
Website of the GNU GCC project. Most linux distributions already come with gcc/g++. If yours doesn't, look for some guide on how to install it. If you use Windows as your OS you should probably give Cygwin a try:
http://www.cygwin.com
Hope it helps,
- Sat Oct 29, 2005 9:07 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10951 - Polynomial GCD
- Replies: 7
- Views: 4802
- Tue Oct 25, 2005 9:34 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10944 - Nuts for nuts..
- Replies: 35
- Views: 18593