//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
留言
感覺你們的畢籌會真用心~
很有創意呢!!!
文華的整個遜掉 = =
恭喜畢業啦 :)
原來你也有來我們的畢典啊XD
我們的畢典真是太酷了!!
哇! 好久沒來你的網誌了
變得好漂亮啊~
可以上YouTube看
好像已經全部放上去了~