'commit'
This commit is contained in:
17
GESP/资料/灰阶图像/输出文件大小.cpp
Normal file
17
GESP/资料/灰阶图像/输出文件大小.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user