riketan
riketan
关注数: 5
粉丝数: 10
发帖数: 174
关注贴吧数: 9
介个不朽头逆天了么 1楼度娘
今天运气好像用尽了,出了个不朽头,美服 截图时忘了换中文,冈姆前的哥布林爆的,属性是 力200,全抗 76, 近战减伤6% 在美服,能换个带洞的神龙拳套么?
关于平行正方形的问题 #include <iostream> #include <iomanip> using namespace std; int main() { int length, i = 1; char symbol; const char underline = '_'; cout << "This program will output a parallelogram.\n"; cout << "How long do you want each side to be? "; if (!(cin >> length) || (length <= 0)) { cout << endl << "invalid input" << endl; return -1; } cout << "Please enter the character you want it to be made of: "; cin >> symbol; for (i = 1; i <= length; i++) { cout << setw(i) << setfill(symbol) << '\n' ; } for (--i; i > 0; i--) { cout << setw(length-i+1) << setfill(underline) << symbol; cout << setw(i) << setfill(symbol) << '\n'; } return 0; } ----------------------------------------- enter“6”跟“@”后的输出是 @ @@ @@@ @@@@ @@@@@ @@@@@@ _@@@@@ __@@@@ ___@@@ ____@@ _____@ 但要求是 @_____ @@____ @@@___ @@@@__ @@@@@_ @@@@@@ _@@@@@ __@@@@ ___@@@ ____@@ _____@ 请问要怎么改才可以啊,谢谢了
1
下一页