Files
python/GESP/资料/灰阶图像/输出文件大小.cpp
HuangHai 1f397eca87 'commit'
2025-08-30 18:35:01 +08:00

18 lines
259 B
C++

#include <bits/stdc++.h>
using namespace std;
int main() {
ofstream fout;
fout.open("1.txt");
for (int i = 1; i <= 10; i++) {
if (i % 5 == 0) {
int x = 6;
fout << x;
} else {
char ch = 'A';
fout << ch;
}
}
return 0;
}