nestedLoop.c

loading
details
attribute value
description
owner Johannes Waldmann
uploaded 2017-08-17 03:45:23.0
disk size 311 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 nestedLoop(int n, int m, int N){
  int i, j, k;
  if(0<=n && 0<=m && 0<=N){
    i = 0;
    while(nondet()>0 && i<n){
      j = 0;
      while(nondet()>0 && j<m ){
        j += 1;
        k = i;
        while(nondet()>0 && k<N)
          k += 1;
        i = k;
      }
      ++i;
    }
  }
}
popout

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

actions get anonymous link download benchmark