Search found 6 matches
- Mon Oct 14, 2002 6:20 pm
- Forum: Volume 1 (100-199)
- Topic: 109 - SCUD Busters
- Replies: 96
- Views: 36960
- Mon Oct 14, 2002 3:14 pm
- Forum: Volume 1 (100-199)
- Topic: 109 - SCUD Busters
- Replies: 96
- Views: 36960
- Mon Oct 14, 2002 2:38 pm
- Forum: Volume 1 (100-199)
- Topic: 109 - SCUD Busters
- Replies: 96
- Views: 36960
[109] examples of tricky input?
Hello!
Need some examples on tricky input and its output. My program works for all input I've tried but get WA still.
My main idea.
Compute convex hull and area of all kingdoms. For each missile test inclusion and add area to sum if point inside walls.
Cheers,
Sarig
Need some examples on tricky input and its output. My program works for all input I've tried but get WA still.
My main idea.
Compute convex hull and area of all kingdoms. For each missile test inclusion and add area to sum if point inside walls.
Cheers,
Sarig
- Fri Oct 11, 2002 3:03 pm
- Forum: Volume 1 (100-199)
- Topic: 107 - The Cat in the Hat
- Replies: 278
- Views: 55060
- Fri Oct 11, 2002 2:21 pm
- Forum: Volume 1 (100-199)
- Topic: 107 - The Cat in the Hat
- Replies: 278
- Views: 55060
- Fri Oct 11, 2002 12:44 am
- Forum: Volume 1 (100-199)
- Topic: 107 - The Cat in the Hat
- Replies: 278
- Views: 55060
problem 107 - WA
Hello!
Could someone tell me why I get WA on this? I works fine with every test I've made on my own computer. Every suggested test on this forum works fine.
[c]
int main(void) {
int N, h, c;
long th, toth, totc, tc;
double k;
while(scanf("%d %d", &h, &c) != EOF) {
if(h == 0 && c == 0)
break ...
Could someone tell me why I get WA on this? I works fine with every test I've made on my own computer. Every suggested test on this forum works fine.
[c]
int main(void) {
int N, h, c;
long th, toth, totc, tc;
double k;
while(scanf("%d %d", &h, &c) != EOF) {
if(h == 0 && c == 0)
break ...