alain.c

loading
details
attribute value
description
owner Johannes Waldmann
uploaded 2017-08-17 03:45:23.0
disk size 359 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 alain(int x,int y,int z,int n1,int n2)
{

  int c1, c2;
  c1 = 0;
  if(n2 <= 2*y) return 0;
  if(n2 <= z+y) return 0;
  if(z>=0 && x>=0 && y>=0 && n1>=0 && n2>=0)
    {
      while(--n1 >= 0 )
	{
          c2 = 0;
          ++c1;
	  while(n2 > 0)
	    {
	      --n2;
	      z = y;
              ++c2;
	    }
	  z = z+y;
	  n2 = z;
	}
    }
  return 0;
}
popout

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

actions get anonymous link download benchmark