File: runner.c

package info (click to toggle)
python-pyflow 1.1.20-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 996 kB
  • sloc: python: 4,154; sh: 219; ansic: 15; makefile: 5
file content (16 lines) | stat: -rw-r--r-- 234 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "math.h"
#include "assert.h"

int main(int argc, char**argv) {
assert(argc==2);
int mult=atoi(argv[1]);
int i,j;
double a=0;
long total=50000000;
for(j=0;j<mult;++j) {
for(i=0;i<total;++i) {
  a+=i;a=sqrt(a);
}
}
return 0;
}