//Q445 Marvelous Mazes //Accepted 2008-04-20 11:51:13 #include <iostream> #include <string> using namespace std; int main(void) { int repeat = 0; string data; while(getline(cin, data)) { for(int i = 0; i < data.length(); i++) { if (data[i] >= '0' && data[i] <= '9') { repeat += data[i] - 48; continue; } if (data[i] == 'b') { for(int j = 0; j < repeat; j++) cout << " "; repeat = 0; } if (data[i] == '!') cout << "\n"; else { for(int j = 0; j < repeat; j++) cout << data[i]; repeat = 0
留言
不過反正我們有看過他
放進來還是可以阿
畢竟是回憶
也對 那棵樹被砍掉實在很可惜說,都是該死的颱風...
I have nothing to say
because everything is in the wind.
Surrounding us...
Keep moving toward your goal.