I've solved the equation in the problem
But I still got Wrong Answer
Could anyone give me some hint????
Search found 4 matches
- Sat Sep 21, 2002 11:18 am
- Forum: Volume 7 (700-799)
- Topic: 720 - Hares and Foxes
- Replies: 4
- Views: 3685
- Fri Aug 23, 2002 6:12 pm
- Forum: Volume 3 (300-399)
- Topic: 310 - L--system
- Replies: 29
- Views: 11740
- Thu Aug 22, 2002 11:37 am
- Forum: Volume 3 (300-399)
- Topic: 310 - L--system
- Replies: 29
- Views: 11740
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 ...
#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 ...
- Sat Jul 20, 2002 1:02 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10006 - Carmichael Numbers
- Replies: 66
- Views: 29531