Search found 25 matches
- Mon Jun 11, 2007 9:20 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11226 - Reaching the fix-point.
- Replies: 23
- Views: 14557
- Sun Jun 10, 2007 9:40 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11224 - Let's swim!
- Replies: 17
- Views: 10785
- Mon Nov 07, 2005 10:37 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10956 - Prime Suspect
- Replies: 24
- Views: 14892
- Tue Nov 01, 2005 2:19 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10958 - How Many Solutions?
- Replies: 17
- Views: 7878
My AC program outputs:
Good luck!
Code: Select all
Case 1: 399
Case 2: 337
Case 3: 337
Case 4: 9
Case 5: 9
Case 6: 9
Case 7: 9
Case 8: 9
- Mon Oct 31, 2005 8:18 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10957 - So Doku Checker
- Replies: 31
- Views: 20665
I've also been trying the same icpc problem, and I only get TLE (lots of TLE's :cry: ). If sb find a fast algorithm please email me at txandi@gmail.com.
What I'm doing now is:
1) Fill all "sure" blanks (the ones that can only be filled with a number)
2) Sort the blanks I have to fill. The first one ...
What I'm doing now is:
1) Fill all "sure" blanks (the ones that can only be filled with a number)
2) Sort the blanks I have to fill. The first one ...
- Sun Oct 23, 2005 9:18 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10944 - Nuts for nuts..
- Replies: 35
- Views: 18592
- Sat Oct 22, 2005 1:29 pm
- Forum: Other words
- Topic: Recommended Problems.
- Replies: 3
- Views: 2318
http://www.comp.nus.edu.sg/~stevenha/pr ... acmoj.html
You can also find interesting:
http://www.felix-halim.net
http://shygypsy.com/acm/
http://www.algorithmist.com
You can also find interesting:
http://www.felix-halim.net
http://shygypsy.com/acm/
http://www.algorithmist.com
- Sat Aug 27, 2005 10:52 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10897 - Travelling Distance
- Replies: 17
- Views: 7518
You can simplify your formula:
Code: Select all
dist = acos( sin(rad1) * sin(rad3) +
cos(rad1) * cos(rad3) * cos(rad2) * cos(rad4) +
cos(rad1) * cos(rad3) * sin(rad2) * sin(rad4) ) * r;
- Tue Jun 28, 2005 3:12 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10873 - Splat, Inc.
- Replies: 7
- Views: 3109
- Tue Jun 28, 2005 2:21 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10873 - Splat, Inc.
- Replies: 7
- Views: 3109
10873 - Splat, Inc.
I can't understand the sample I/O. Perhaps I've misunderstood the problem.
In the first case (5 5 1 50 50 4 0 2), for example I think the output should be 9 6 6 4 and not 8 7 6 4 because:
X = paintball
00000 00000 00000 00000 00000 00000 00000 00000 0000X
00000 00000 00000 00000 00000 0000X 0000X ...
In the first case (5 5 1 50 50 4 0 2), for example I think the output should be 9 6 6 4 and not 8 7 6 4 because:
X = paintball
00000 00000 00000 00000 00000 00000 00000 00000 0000X
00000 00000 00000 00000 00000 0000X 0000X ...
- Wed Mar 23, 2005 4:49 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10832 - Yoyodyne
- Replies: 6
- Views: 3655
- Mon Feb 28, 2005 10:26 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10274 - Fans and Gems
- Replies: 8
- Views: 4161
- Sun Feb 20, 2005 6:22 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10274 - Fans and Gems
- Replies: 8
- Views: 4161
10274 - Fans and Gems (Need I/O verification)
Can anybody check this I/O??? I keep getting WA and I don't know why.
20
5 14
##############
#@ 1 3 1@#
#@#2# # #
#213 @13 @3#
##############
9 9
#########
# 3 #
# 3 @ #
#21 1@ #
#3 3#
# 2 # @#
# # #
## 3 2 #
#########
11 13
#############
# 2 2@ # #
#2 3@ 1 @@ 2#
# 2 @2 #
#3 2 @ # 3 #
## 2# 2 ...
20
5 14
##############
#@ 1 3 1@#
#@#2# # #
#213 @13 @3#
##############
9 9
#########
# 3 #
# 3 @ #
#21 1@ #
#3 3#
# 2 # @#
# # #
## 3 2 #
#########
11 13
#############
# 2 2@ # #
#2 3@ 1 @@ 2#
# 2 @2 #
#3 2 @ # 3 #
## 2# 2 ...
- Wed Nov 17, 2004 10:21 pm
- Forum: Volume 1 (100-199)
- Topic: 104 - Arbitrage
- Replies: 223
- Views: 37164
104 - WA
Need Help!!!
I've summited it lots of times, but still WA :cry:
My algorithm is simple, I save in a table (table [j][k]) the best way to reach "j", starting from "i" with "k" iterations.
What's wrong?? Is it precission??
My code
[cpp]#include <iostream>
#include <vector>
#define EPS 0.0000001 ...
I've summited it lots of times, but still WA :cry:
My algorithm is simple, I save in a table (table [j][k]) the best way to reach "j", starting from "i" with "k" iterations.
What's wrong?? Is it precission??
My code
[cpp]#include <iostream>
#include <vector>
#define EPS 0.0000001 ...
- Sun Nov 14, 2004 1:12 am
- Forum: Volume 106 (10600-10699)
- Topic: 10686 - SQF Problems
- Replies: 21
- Views: 15787