aaron2.c

loading
details
attribute value
description
owner Akihisa Yamada
uploaded 2020-06-20 22:52:03.0
disk size 205 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();

int aaron2(int tx,int x,int y) {

  if (tx>=0) {
    while (x>=y) {
      if (tx<0) return 0;
      if (nondet()>0) 
	{
	  x=x-1-tx;
	}
      else
	{
	  y=y+1+tx;
	}
    }
  }
  return 0;
}
popout

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

actions get anonymous link download benchmark