about summary refs log tree commit diff
path: root/codechef/chfintro.lua
diff options
context:
space:
mode:
Diffstat (limited to 'codechef/chfintro.lua')
-rwxr-xr-xcodechef/chfintro.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/codechef/chfintro.lua b/codechef/chfintro.lua
new file mode 100755
index 0000000..571da78
--- /dev/null
+++ b/codechef/chfintro.lua
@@ -0,0 +1,3 @@
+#!/usr/bin/env lua
+local n, r = io.read('*n', '*n')
+for i = 1, n do print(io.read('*n') >= r and 'Good boi' or 'Bad boi') end