// // time ./solution // 2147483647 // #include int main (void) { int max, /* the counter we will print */ lead; /* a counter running one ahead */ // limit = 2147483647; /* loop to find max */ max = 0; lead = 1; while (lead > 0) { max++; lead++; } /* print the max value of an int */ printf("%d\n", max); return 0; }