Search found 2 matches

by splutter
Tue Apr 23, 2002 7:45 am
Forum: Volume 100 (10000-10099)
Topic: 10009 - All Roads Lead Where?
Replies: 60
Views: 25130

still WA, can someone help me with my code~ thx
[cpp]#include "iostream.h"

int m,n,a[26][26],b[26][26];

void out(int x, int y)
{
if (b[x][y]!=-1) {
out(x,b[x][y]);
out(b[x][y],y);
} else {
cout << char(x+65);
}
}

int main()
{
char city1[1000], city2[1000];
int i,j,k;
while (cin >> m >> n ...
by splutter
Tue Apr 23, 2002 7:26 am
Forum: Volume 100 (10000-10099)
Topic: 10009 - All Roads Lead Where?
Replies: 60
Views: 25130

multiply input?
did u mean that something is missing in the problem description?

Go to advanced search