#include <iostream> using namespace std; int main() { int x; for (x=0; x<1000000; x++) { cout << "number - " << x << endl; } }
for ($x=0; $x<1000000; $x++) { echo "number - ".$x.PHP_EOL; }
#include <cstdio> using namespace std; int main(void) { for (int x = 0; x < 1000000; x++) printf("number - %ld\n", x); return 0; }