Search found 1 match

by Shiori
Wed May 08, 2002 6:27 am
Forum: Bugs and suggestions
Topic: 511 - Do You Know the Way to San Jose? - Do nothing AC
Replies: 62
Views: 5435

P200 : What's wrong with my program ?

#include<iostream.h> #include<string.h> void main() { char c[30], d[30], w[27], *c1, *d1; int g[26][26], v[26], p[26], q[26], qh, qt, s1, s2, n; for (; 1;) { cin >> c; if (cin.fail()) break; memset(g, 0, sizeof(g)); memset(v, 0xFF, sizeof(v)); memset(p, 0, sizeof(p)); n = 0; if (*c == '#') { cout <<...

Go to advanced search