Revision: 976 Author: teawater Date: Sun Mar 18 19:16:17 2012 Log: Update hotest.c http://code.google.com/p/kgtp/source/detail?r=976 Modified: /bak/hotest.c ======================================= --- /bak/hotest.c Sun Mar 18 09:00:53 2012 +++ /bak/hotest.c Sun Mar 18 19:16:17 2012 @@ -1,25 +1,20 @@ -#include <sys/types.h> #include <stdio.h> -#include <stdlib.h> -#include <string.h> +#include <sys/types.h> #include <unistd.h> -#include <errno.h> -#include <sys/stat.h> -#include <fcntl.h> -#include <stdint.h> int main(int argc,char *argv[],char *envp[]) { - int i, j; + unsigned long i, j; printf("%d\n", getpid()); + for (i = 1; i < 99999999999; i++) { j = i / 13; - j = i - 13; - j = i + 13; - j = i * 13; + j = j - 13; + j = j * 13; + j = j + 13; } - return 0; -} + return j; +}