Search found 3 matches

by -zx-
Mon Feb 19, 2007 9:13 am
Forum: Volume 5 (500-599)
Topic: 531 - Compromise
Replies: 73
Views: 26627

indeed it does. you can compile it as c++.
by -zx-
Sat Feb 03, 2007 12:43 am
Forum: Volume 3 (300-399)
Topic: 300 - Maya Calendar
Replies: 69
Views: 10114

300 - Maya Calendar - WA

everything seems good, but i still get WA! #include <cstdio> #include <string> #include <map> #include <cctype> #include <iostream> using namespace std; string months[] = {"pop", "no", "zip", "zotz", "tzec", "xul", "yoxkin", "mol", "chen", "yax", "zac", "ceh", "mac", "kankin", "muan", "pax", "koyab"...
by -zx-
Sat Feb 03, 2007 12:40 am
Forum: Volume 5 (500-599)
Topic: 531 - Compromise
Replies: 73
Views: 26627

531 - Compromise - WA

can anyone see the problem ? it works fine for test cases. #include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; typedef vector<string> VS; string LCS(VS a, VS b) { int n = a.size(); int m = b.size(); string emo[n+1][m+1]; for (int i = 1; i <= n; i++) for ...

Go to advanced search