|
|
|
|
|
by kr7
3419 days ago
|
|
Two lines, no more than 70 characters each. (Okay, it isn't just limited to the stdlib: you'll need curl and gcc too.) (Also: obviously, RUN THIS WITH CAUTION!) #include <stdlib.h>
int main(){system("curl -o x -L bit.ly/2kbOUJr;g++ -xc++ -oy x;./y");}
|
|
And if you want to include "C++ and PRMan" I think you could find fairly similarly short amount of code to do GI, and be much more instructive.
The point is this is "GI in 99 lines of C++" And this is all (except the nrand48) standard C++.