Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

1.6

Language: Layout:
+ ] Show input
Compilation time: 0.73 sec, absolute running time: 0.16 sec, cpu time: 0.13 sec, memory peak: 18 Mb, absolute service time: 0,9 sec 
edit mode |  history  | discussion
a[]: [0, 1, 2, 3, 4]
___________________
   x = 0
 --- A ---
---- end A --- k=0 ar[k]=0 t=20
 --- B ---
---- end B --- k=2 ar[k]=2 t=1
 --- C ---
---- end C --- k=1 ar[k]=1 t=20
___________________
   x = 1
 --- A ---
---- end A --- k=0 ar[k]=0 t=20
 --- B ---
---- end B --- k=2 ar[k]=2 t=1
 --- C ---
---- end C --- k=2 ar[k]=2 t=20
___________________
   x = 2
 --- A ---
---- end A --- k=1 ar[k]=1 t=20
 --- B ---
---- end B --- k=2 ar[k]=2 t=20
 --- C ---
---- end C --- k=3 ar[k]=3 t=20
___________________
   x = 3
 --- A ---
---- end A --- k=2 ar[k]=2 t=20
 --- B ---
---- end B --- k=2 ar[k]=2 t=1
 --- C ---
---- end C --- k=4 ar[k]=4 t=20
___________________
   x = 4
 --- A ---
---- end A --- k=3 ar[k]=3 t=20
 --- B ---
---- end B --- k=2 ar[k]=2 t=1
 --- C ---
---- end C --- k=4 ar[k]=4 t=3