mirror of
https://github.com/tiennm99/GiaiTri191102.git
synced 2026-06-10 08:10:44 +00:00
16 lines
256 B
C++
16 lines
256 B
C++
#include <iostream>
|
|
#include <fstream>
|
|
#include <ios>
|
|
#include <cstdlib>
|
|
|
|
using namespace std;
|
|
|
|
int main() {
|
|
ofstream ofile;
|
|
ofile.open("in.txt", ios::in);
|
|
for (int i = 0; i < 1000; ++i) {
|
|
ofile << 1 << endl;
|
|
}
|
|
ofile.close();
|
|
}
|