diff options
Diffstat (limited to 'problems/livingorganism/attachments')
-rw-r--r-- | problems/livingorganism/attachments/template.c | 17 | ||||
-rw-r--r-- | problems/livingorganism/attachments/template.cpp | 17 | ||||
-rw-r--r-- | problems/livingorganism/attachments/template.java | 16 | ||||
-rw-r--r-- | problems/livingorganism/attachments/template.js | 6 | ||||
-rw-r--r-- | problems/livingorganism/attachments/template.py | 9 |
5 files changed, 65 insertions, 0 deletions
diff --git a/problems/livingorganism/attachments/template.c b/problems/livingorganism/attachments/template.c new file mode 100644 index 0000000..7c0c472 --- /dev/null +++ b/problems/livingorganism/attachments/template.c @@ -0,0 +1,17 @@ +#include <stdlib.h> +#include <stdio.h> +#include <string.h> +#include <stdbool.h> + +int main() +{ + int r; + scanf("%d", &r); + + // Write an answer using printf(). DON'T FORGET THE TRAILING \n + // To debug: fprintf(stderr, "Debug messages...\n"); + + printf("duration\n"); + + return 0; +} diff --git a/problems/livingorganism/attachments/template.cpp b/problems/livingorganism/attachments/template.cpp new file mode 100644 index 0000000..2b67cd2 --- /dev/null +++ b/problems/livingorganism/attachments/template.cpp @@ -0,0 +1,17 @@ +#include <iostream> +#include <string> +#include <vector> +#include <algorithm> + +using namespace std; + +int main() +{ + int r; + cin >> r; cin.ignore(); + + // Write an answer using cout. DON'T FORGET THE "<< endl" + // To debug: cerr << "Debug messages..." << endl; + + cout << "duration" << endl; +} diff --git a/problems/livingorganism/attachments/template.java b/problems/livingorganism/attachments/template.java new file mode 100644 index 0000000..1c5aa86 --- /dev/null +++ b/problems/livingorganism/attachments/template.java @@ -0,0 +1,16 @@ +import java.util.*; +import java.io.*; +import java.math.*; + +class Solution { + + public static void main(String args[]) { + Scanner in = new Scanner(System.in); + int r = in.nextInt(); + + // Write an answer using System.out.println() + // To debug: System.err.println("Debug messages..."); + + System.out.println("duration"); + } +} diff --git a/problems/livingorganism/attachments/template.js b/problems/livingorganism/attachments/template.js new file mode 100644 index 0000000..3ef5612 --- /dev/null +++ b/problems/livingorganism/attachments/template.js @@ -0,0 +1,6 @@ +const r = parseInt(readline()); + +// Write an answer using console.log() +// To debug: console.error('Debug messages...'); + +console.log('duration'); diff --git a/problems/livingorganism/attachments/template.py b/problems/livingorganism/attachments/template.py new file mode 100644 index 0000000..9994ca1 --- /dev/null +++ b/problems/livingorganism/attachments/template.py @@ -0,0 +1,9 @@ +import sys +import math + +r = int(input()) + +# Write an answer using print +# To debug: print("Debug messages...", file=sys.stderr, flush=True) + +print("duration") |