## Search found 4 matches

Sat Sep 21, 2002 11:18 am
Forum: Volume 7 (700-799)
Topic: 720 - Hares and Foxes
Replies: 4
Views: 3156

### 720 - Hares and Foxes

I've solved the equation in the problem

But I still got Wrong Answer

Could anyone give me some hint????
Fri Aug 23, 2002 6:12 pm
Forum: Volume 3 (300-399)
Topic: 310 - L--system
Replies: 29
Views: 8716
But I couldn't agree with you. I read the problem carefully, I think you must change all the letter in every step. ("Direct derivation from string u1 to u2 consists of replacing each occurrence of the symbol x in u1 by the string on the right side of the production for that symbol. ") I got some mat...
Thu Aug 22, 2002 11:37 am
Forum: Volume 3 (300-399)
Topic: 310 - L--system
Replies: 29
Views: 8716

### 310 L-system I got WA for so many times!

I checked my program but found no big mistakes. Could anyone come into help? #include <fstream.h> #include <string.h> #define fin cin bool flag[65536]; char u[20],v[20],w[20],z[20]; int tar,lz,lw; int str2int(char *s,int len) { int i,ans(1); for (i=0;i<len;i++) if (s =='a') ans = ans<<1; else ans = ...
Sat Jul 20, 2002 1:02 pm
Forum: Volume 100 (10000-10099)
Topic: 10006 - Carmichael Numbers
Replies: 66
Views: 20832
Change "int" to "unsigned", and you'll get it.
There're 15 numbers totally instead of 11.