摘要:
#include <iostream> #include <Windows.h> #include <string> using namespace std; int main() { int n; int ret[32]; int i = 0; cout << "请输入一个正整数:"; cin >
阅读全文
posted @ 2022-08-08 20:50
wshidaboss
阅读(163)
推荐(0)
编辑
摘要:
#include <iostream> #include <Windows.h> #include <string> using namespace std; int main() { int row; cout << "请输入倒三角的行数:"; cin >> row; for (int i = 1
阅读全文
posted @ 2022-08-08 19:26
wshidaboss
阅读(703)
推荐(0)
编辑
摘要:
#include <iostream> #include <windows.h> #include <string> using namespace std; int main() { int row; cout << "请输入行数:"; cin >> row; for (int i = 1; i
阅读全文
posted @ 2022-08-08 19:17
wshidaboss
阅读(503)
推荐(0)
编辑
摘要:
#include <iostream> #include <windows.h> #include <string>#include <iomanip> using namespace std; int main() { int width; for (int i = 1; i < 10; i++)
阅读全文
posted @ 2022-08-08 19:11
wshidaboss
阅读(121)
推荐(0)
编辑
摘要:
#include <iostream> #include <windows.h> #include <string> using namespace std; int main(void) { int a, b, c; for (int i = 100; i <= 999; i++) { a = i
阅读全文
posted @ 2022-08-08 19:00
wshidaboss
阅读(106)
推荐(0)
编辑
摘要:
#include <iostream> #include <string> #include <windows.h> using namespace std; int main() { int n; long long s; long long a = 1; long long b = 1; whi
阅读全文
posted @ 2022-08-08 18:52
wshidaboss
阅读(80)
推荐(0)
编辑