Search found 1 match
- Tue Nov 10, 2009 10:02 am
- Forum: Volume 4 (400-499)
- Topic: 490 - Rotating Sentences
- Replies: 212
- Views: 24701
Re: 490 - Rotating Sentences
Could anyone help? I think I satisfy the requirement. But I always get WA Thank you #include <iostream> #include <cstring> using namespace std; int main() { char input[101][101] = {'\0'}; int totSen = 0, totRow = 0; int row = 0, col = 0; int maxLen = 0; while(!cin.eof()) { cin.getline(input[totSen],...