metanohi-misc-subsites/projects/misc/googolplex.c

31 lines
970 B
C
Raw Normal View History

2011-08-02 19:57:57 +02:00
#include <stdio.h>
unsigned int i[20];
int main() {
putchar('1');
for (i[0] = 0; i[0] < 100000; i[0]++) {
for (i[1] = 0; i[1] < 100000; i[1]++) {
for (i[2] = 0; i[2] < 100000; i[2]++) {
for (i[3] = 0; i[3] < 100000; i[3]++) {
for (i[4] = 0; i[4] < 100000; i[4]++) {
for (i[5] = 0; i[5] < 100000; i[5]++) {
for (i[6] = 0; i[6] < 100000; i[6]++) {
for (i[7] = 0; i[7] < 100000; i[7]++) {
for (i[8] = 0; i[8] < 100000; i[8]++) {
for (i[9] = 0; i[9] < 100000; i[9]++) {
for (i[10] = 0; i[10] < 100000; i[10]++) {
for (i[11] = 0; i[11] < 100000; i[11]++) {
for (i[12] = 0; i[12] < 100000; i[12]++) {
for (i[13] = 0; i[13] < 100000; i[13]++) {
for (i[14] = 0; i[14] < 100000; i[14]++) {
for (i[15] = 0; i[15] < 100000; i[15]++) {
for (i[16] = 0; i[16] < 100000; i[16]++) {
for (i[17] = 0; i[17] < 100000; i[17]++) {
for (i[18] = 0; i[18] < 100000; i[18]++) {
for (i[19] = 0; i[19] < 100000; i[19]++) {
putchar('0');
}}}}}}}}}}}}}}}}}}}}
return 0;
}