about summary refs log tree commit diff
path: root/codechef/chfideal.lua
diff options
context:
space:
mode:
Diffstat (limited to 'codechef/chfideal.lua')
-rwxr-xr-xcodechef/chfideal.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/codechef/chfideal.lua b/codechef/chfideal.lua
new file mode 100755
index 0000000..ded95ee
--- /dev/null
+++ b/codechef/chfideal.lua
@@ -0,0 +1,4 @@
+#!/usr/bin/env lua
+print(1)
+io.flush()
+print(io.read('*n') == 2 and 3 or 2)