Search found 10 matches

by Cloud
Thu Feb 28, 2002 8:17 pm
Forum: Volume 100 (10000-10099)
Topic: 10043 - Chainsaw Massacre
Replies: 18
Views: 7311

10043 - Chainsaw Massacre

Help me plz :sad: /* @JUDGE_ID: xxxxx 10043 C++ */ #include <iostream.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #define maxn 5000 typedef int (*fptr)(const void*, const void*); struct point { int x,y; } p[maxn]; int cmp(point *a,point *b) { return (*a).x - (*b).x; } int n,i,j,k; ...
by Cloud
Tue Jan 29, 2002 7:50 pm
Forum: Volume 2 (200-299)
Topic: 283 - Compress
Replies: 16
Views: 6466

I 've just got AC :smile:
Thanks for reading.
by Cloud
Tue Jan 29, 2002 7:39 pm
Forum: Volume 2 (200-299)
Topic: 283 - Compress
Replies: 16
Views: 6466

give me some tricky data pls , i dont know why my program got WA :sad:
by Cloud
Wed Jan 16, 2002 12:02 pm
Forum: Volume 1 (100-199)
Topic: 112 - Tree Summing
Replies: 137
Views: 15243

can ur program handle negative numbers ?
by Cloud
Mon Jan 07, 2002 7:10 pm
Forum: Volume 3 (300-399)
Topic: 305 - Joseph
Replies: 41
Views: 4250

The biggest answer is less than 3000000
by Cloud
Sun Jan 06, 2002 6:34 pm
Forum: Volume 3 (300-399)
Topic: 305 - Joseph
Replies: 41
Views: 4250

hmm, the answer when k = 10 is only 93313
by Cloud
Mon Dec 31, 2001 10:15 pm
Forum: Volume 1 (100-199)
Topic: 104 - Arbitrage
Replies: 223
Views: 15637

It still WA when I use my Yahoo account to submit but when I switch to Hotmail, it's accepted, Thank u so much :smile:
by Cloud
Sun Dec 30, 2001 9:22 am
Forum: Volume 1 (100-199)
Topic: 104 - Arbitrage
Replies: 223
Views: 15637

I change my program to use * directly instead of +log , but still WA :sad:
by Cloud
Sat Dec 29, 2001 7:56 pm
Forum: Volume 1 (100-199)
Topic: 104 - Arbitrage
Replies: 223
Views: 15637

Sorry, I posted a wrong source code in previous message. Here's my WA program : /* @JUDGE_ID: xxxxx 104 C++ DP */ #include <iostream.h> #include <math.h> double a[20][20],d[20][20],tmp,val = log(1.01); int n,i,j,k,l,tr[20][20],min,path[20]; void main() { while (cin >> n) { for (i = 0; i < n; i++) fo...
by Cloud
Sat Dec 29, 2001 7:47 pm
Forum: Volume 1 (100-199)
Topic: 104 - Arbitrage
Replies: 223
Views: 15637

Why WA ? :sad: /* @JUDGE_ID: xxxxx 104 C++ DP */ #include <iostream.h> #include <math.h> double a[20][20],d[20][20],tmp,val = log(1.01); int n,i,j,k,l,tr[20][20],min,path[20]; void main() { while (cin >> n) { for (i = 0; i < n; i++) for (j = 0; j < n; j++) if (i == j) a = 0.0; else { cin >> tmp; if ...

Go to advanced search