Search found 4 matches

by dongyf
Wed Aug 14, 2002 9:00 am
Forum: Volume 6 (600-699)
Topic: 624 - CD
Replies: 77
Views: 33905

I also got WA with DP.

#include <iostream> #include <cstring> using namespace std; const int maxsize = 1000; int space, num; int track[maxsize+1]; int record[maxsize+1]; int last[maxsize+1]; bool getcase() { if (cin >> space) { cin >> num; for (int i = 1; i <= num; i++) cin >> track[i]; return true; } else return false; ...
by dongyf
Mon Aug 12, 2002 5:04 am
Forum: Volume 5 (500-599)
Topic: 554 - Caesar Cypher
Replies: 27
Views: 10822

Can you tell me what's your output for the following data

Can you tell me what's your output for the following data
@BEGIN_OF_TEST_CASE
THANK
YOU
FOR
YOUR
HELP
#
ABCDEFGHIJ
ABCDEFGHIJABCDEFGHIJABCDEFGHIJABCDEFGHIJABCDEFGHIJABCDEFGHIJABCDEFGHIJ
ABCDEFGHIJABCDEFGHIJABCDEFGHIJABCDEFGHIJABCDEFGHIJ BCDEFGHIJA
@END_OF_TEST_CASE
by dongyf
Sat Aug 10, 2002 8:17 pm
Forum: Volume 5 (500-599)
Topic: 554 - Caesar Cypher
Replies: 27
Views: 10822

554 - Caesar Cypher

Can anyone tell me why this code got WA. Anything helpful on the problem will be appreciate. @BEGIN_OF_SOURCE_CODE #include <iostream> #include <strstream> #include <cstring> #include <cctype> using namespace std; char dic[200][30]; int len; char cipher[300], message[300]; int match, best; void read...
by dongyf
Thu Jun 13, 2002 6:41 pm
Forum: C++
Topic: Question about IBM VisualAge C++ \n
Replies: 1
Views: 1882

Question about IBM VisualAge C++ \n

Have you ever used IBM VisualAge C++? I don't know how to edit in it and debug in it.

Go to advanced search