Created
July 23, 2012 18:46
-
-
Save leafduo/3165358 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| int main() | |
| { | |
| FILE * fout = fopen("output.txt", "w"); | |
| int i; | |
| for (i = 0; i < 1e6; ++i) | |
| fprintf(fout, "%d", 0); | |
| return 0; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <fstream> | |
| using namespace std; | |
| int main() | |
| { | |
| fstream fout("output.txt"); | |
| for (int i = 0; i < 1e6; ++i) | |
| fout << 0; | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment