summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/main.py9
-rw-r--r--template/main.rs14
2 files changed, 23 insertions, 0 deletions
diff --git a/template/main.py b/template/main.py
new file mode 100644
index 0000000..9f1d48e
--- /dev/null
+++ b/template/main.py
@@ -0,0 +1,9 @@
+from fileinput import input
+
+lines = [line.strip() for line in input()]
+
+silver = 0
+gold = 0
+
+print("silver:", silver)
+print("gold:", gold)
diff --git a/template/main.rs b/template/main.rs
new file mode 100644
index 0000000..88bdc79
--- /dev/null
+++ b/template/main.rs
@@ -0,0 +1,14 @@
+use std::io;
+
+fn main() -> io::Result<()> {
+ for line in io::stdin().lines() {
+ let _line = line?;
+ }
+
+ let silver: u64 = 0;
+ let gold: u64 = 0;
+ println!("silver: {silver}");
+ println!("gold: {gold}");
+
+ return Ok(());
+}