aboutsummaryrefslogtreecommitdiff
path: root/problems/boatraceanalysis/attachments/template.js
diff options
context:
space:
mode:
Diffstat (limited to 'problems/boatraceanalysis/attachments/template.js')
-rw-r--r--problems/boatraceanalysis/attachments/template.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/problems/boatraceanalysis/attachments/template.js b/problems/boatraceanalysis/attachments/template.js
new file mode 100644
index 0000000..7889d24
--- /dev/null
+++ b/problems/boatraceanalysis/attachments/template.js
@@ -0,0 +1,9 @@
+const n = parseInt(readline());
+for (let i = 0; i < n; i++) {
+ const analysis = readline();
+}
+
+// Write an answer using console.log()
+// To debug: console.error('Debug messages...');
+
+console.log('one line per boat with its position or one line per analysis causing an error');