about summary refs log tree commit diff
path: root/codechef/chfintro.lua
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-12-12 01:10:38 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-12-12 01:10:38 +0700
commit5e48d2ec45a065cc81781995bf461415563da086 (patch)
tree89c213a2d47bcf7790b3cc4873c81fd8c1ccefc8 /codechef/chfintro.lua
parent054428243ccb1c0b39c7fdf8faa449ce415789ce (diff)
downloadcp-5e48d2ec45a065cc81781995bf461415563da086.tar.gz
maxep is only 25% AC )-:
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