easy1.koat

loading
details
attribute value
description
owner Johannes Waldmann
uploaded 2017-08-17 03:45:03.0
disk size 675 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
(GOAL COMPLEXITY)
(STARTTERM (FUNCTIONSYMBOLS evaleasy1start))
(VAR A B)
(RULES
  evaleasy1start(A,B) -> Com_1(evaleasy1entryin(A,B))
  evaleasy1entryin(A,B) -> Com_1(evaleasy1bb3in(0,B))
  evaleasy1bb3in(A,B) -> Com_1(evaleasy1bbin(A,B)) :|: 39 >= A
  evaleasy1bb3in(A,B) -> Com_1(evaleasy1returnin(A,B)) :|: A >= 40
  evaleasy1bbin(A,B) -> Com_1(evaleasy1bb1in(A,B)) :|: B = 0
  evaleasy1bbin(A,B) -> Com_1(evaleasy1bb2in(A,B)) :|: 0 >= B + 1
  evaleasy1bbin(A,B) -> Com_1(evaleasy1bb2in(A,B)) :|: B >= 1
  evaleasy1bb1in(A,B) -> Com_1(evaleasy1bb3in(A + 1,B))
  evaleasy1bb2in(A,B) -> Com_1(evaleasy1bb3in(A + 2,B))
  evaleasy1returnin(A,B) -> Com_1(evaleasy1stop(A,B))
)
popout

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

actions get anonymous link download benchmark