#include <cstdio>
const int SIZE=100000000;
char buf[SIZE];
int main(int, char *argv[]) {
std::FILE *fin = std::fopen(argv[1], "r");
std::size_t cnt = std::fread(buf, sizeof(char), SIZE, fin);
std::fclose(fin);
std::FILE *fout = std::fopen(argv[1], "wb");
std::fwrite(buf, sizeof(char), cnt, fout);
std::fclose(fout);
return 0;
}yuweikai
文章信息与版本
文章信息
- 发布
- 2024年3月27日
- 收录
- 2026年8月20日
- 更新
- 2026年9月15日
- 篇幅
- 约 1 分钟