123456789101112131415161718192021222324252627282930313233343536
#include <iostream> #include <stdlib.h> using namespace std; int main(int argc, char *argv[]) { cout<< "0 0 0 0\n" "1 1 1 1\n" "2 4 8 16\n" "3 9 27 81\n" "4 16 64 256\n" "5 25 125 625\n" "6 36 216 1296\n" "7 49 343 2401\n" "8 64 512 4096\n" "9 81 729 6561\n" "10 100 1000 10000\n" "11 121 1331 14641\n" "12 144 1728 20736\n" "13 169 2197 28561\n" "14 196 2744 38416\n" "15 225 3375 50625\n" "16 256 4096 65536\n" "17 289 4913 83521\n" "18 324 5832 104976\n" "19 361 6859 130321\n" "20 400 8000 160000\n" "21 441 9261 194481\n" "22 484 10648 234256\n" "23 529 12167 279841\n" "24 576 13824 331776\n" "25 625 15625 390625\n"; system("PAUSE"); return 0; }