Loopus2015_ex2.c

loading
details
attribute value
description
owner Johannes Waldmann
uploaded 2017-08-17 03:45:23.0
disk size 261 Bytes
downloadable true
type
attribute value
name no_type
processor id 1
description this is the default benchmark type for rejected benchmarks and benchmarks that are not associated with a type.
owning community none
loading contents
int nondet();

void Loopus2015_ex2(int n, int m1,int m2) {
 if(n<0) return;
 if(m1<0) return;
 if(m2<0) return;
 int y = n;
 int x;
 if(nondet()>0)
    x = m1;
 else
  x = m2;
 while(y > 0) {
   y--;
   x = x + 2; 
  }
 int z = x;
  while(z > 0)
   z--; 
}



popout

content may be truncated. 'popout' for larger text window.

actions get anonymous link download benchmark