unsigned long long rpow(int n, int p) {
return p ? p==1 ? n : n * rpow(n,p-1) : 1;
}
int main(int argc, char **argv) {
if(argv[1])
if(argv[2]) {
int n = atoi(argv[1]);
int p = atoi(argv[2]);
printf("%llu\n",rpow(n,p));
}
return 0;
}
Name:
Anonymous2009-03-06 7:57
Guys we should apologize, or he might commit suicide and leave the script running, and it would take days before anybody finds his body and turns off the computer, given how unlikely he his to have friends.