diff options
Diffstat (limited to 'problems/thewolves/attachments')
-rw-r--r-- | problems/thewolves/attachments/template.c | 18 | ||||
-rw-r--r-- | problems/thewolves/attachments/template.cpp | 18 | ||||
-rw-r--r-- | problems/thewolves/attachments/template.java | 17 | ||||
-rw-r--r-- | problems/thewolves/attachments/template.js | 8 | ||||
-rw-r--r-- | problems/thewolves/attachments/template.py | 9 |
5 files changed, 70 insertions, 0 deletions
diff --git a/problems/thewolves/attachments/template.c b/problems/thewolves/attachments/template.c new file mode 100644 index 0000000..271bf24 --- /dev/null +++ b/problems/thewolves/attachments/template.c @@ -0,0 +1,18 @@ +#include <stdlib.h> +#include <stdio.h> +#include <string.h> +#include <stdbool.h> + +int main() +{ + int gray_wolves; + int black_wolves; + scanf("%d%d", &gray_wolves, &black_wolves); + + // Write an answer using printf(). DON'T FORGET THE TRAILING \n + // To debug: fprintf(stderr, "Debug messages...\n"); + + printf("answer\n"); + + return 0; +} diff --git a/problems/thewolves/attachments/template.cpp b/problems/thewolves/attachments/template.cpp new file mode 100644 index 0000000..36383f8 --- /dev/null +++ b/problems/thewolves/attachments/template.cpp @@ -0,0 +1,18 @@ +#include <iostream> +#include <string> +#include <vector> +#include <algorithm> + +using namespace std; + +int main() +{ + int gray_wolves; + int black_wolves; + cin >> gray_wolves >> black_wolves; cin.ignore(); + + // Write an answer using cout. DON'T FORGET THE "<< endl" + // To debug: cerr << "Debug messages..." << endl; + + cout << "answer" << endl; +} diff --git a/problems/thewolves/attachments/template.java b/problems/thewolves/attachments/template.java new file mode 100644 index 0000000..9fff199 --- /dev/null +++ b/problems/thewolves/attachments/template.java @@ -0,0 +1,17 @@ +import java.util.*; +import java.io.*; +import java.math.*; + +class Solution { + + public static void main(String args[]) { + Scanner in = new Scanner(System.in); + int grayWolves = in.nextInt(); + int blackWolves = in.nextInt(); + + // Write an answer using System.out.println() + // To debug: System.err.println("Debug messages..."); + + System.out.println("answer"); + } +} diff --git a/problems/thewolves/attachments/template.js b/problems/thewolves/attachments/template.js new file mode 100644 index 0000000..217c220 --- /dev/null +++ b/problems/thewolves/attachments/template.js @@ -0,0 +1,8 @@ +var inputs = readline().split(' '); +const grayWolves = parseInt(inputs[0]); +const blackWolves = parseInt(inputs[1]); + +// Write an answer using console.log() +// To debug: console.error('Debug messages...'); + +console.log('answer'); diff --git a/problems/thewolves/attachments/template.py b/problems/thewolves/attachments/template.py new file mode 100644 index 0000000..bbc0b57 --- /dev/null +++ b/problems/thewolves/attachments/template.py @@ -0,0 +1,9 @@ +import sys +import math + +gray_wolves, black_wolves = [int(i) for i in input().split()] + +# Write an answer using print +# To debug: print("Debug messages...", file=sys.stderr, flush=True) + +print("answer") |