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:42
ok well ive set up a crude prog sort: it sorts subject,txt based on the ID (field 4) and then just takes the most recent 100.... http://noog.org/cgi-bin/prog
need to iron out the top weird ones with non-standard IDs..