Skip to content

Commit

Permalink
add examples
Browse files Browse the repository at this point in the history
  • Loading branch information
zehengl committed May 22, 2024
1 parent e81c643 commit bf426d7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/barcelona.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
n, k = input().split()
a = input().split()
ind = a.index(k)
if ind == 0:
print("fyrst")
elif ind == 1:
print("naestfyrst")
else:
print(ind + 1, "fyrst")
3 changes: 3 additions & 0 deletions src/bergmal.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fun main() {
println(readLine())
}
1 change: 1 addition & 0 deletions src/bergmal.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print(io.read())
1 change: 1 addition & 0 deletions src/bergmal.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print(input())
1 change: 1 addition & 0 deletions src/bergmal.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
puts gets

0 comments on commit bf426d7

Please sign in to comment.