diff options
Diffstat (limited to 'problems/thewolves')
35 files changed, 101 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") diff --git a/problems/thewolves/data/secret/1.ans b/problems/thewolves/data/secret/1.ans new file mode 100644 index 0000000..0b3fbfd --- /dev/null +++ b/problems/thewolves/data/secret/1.ans @@ -0,0 +1 @@ +12 5 No diff --git a/problems/thewolves/data/secret/1.in b/problems/thewolves/data/secret/1.in new file mode 100644 index 0000000..cba3471 --- /dev/null +++ b/problems/thewolves/data/secret/1.in @@ -0,0 +1 @@ +2 1 diff --git a/problems/thewolves/data/secret/10.ans b/problems/thewolves/data/secret/10.ans new file mode 100644 index 0000000..87af644 --- /dev/null +++ b/problems/thewolves/data/secret/10.ans @@ -0,0 +1 @@ +1600 550 Yes diff --git a/problems/thewolves/data/secret/10.in b/problems/thewolves/data/secret/10.in new file mode 100644 index 0000000..042b582 --- /dev/null +++ b/problems/thewolves/data/secret/10.in @@ -0,0 +1 @@ +150 250 diff --git a/problems/thewolves/data/secret/11.ans b/problems/thewolves/data/secret/11.ans new file mode 100644 index 0000000..c0d9b68 --- /dev/null +++ b/problems/thewolves/data/secret/11.ans @@ -0,0 +1 @@ +2000 700 Yes diff --git a/problems/thewolves/data/secret/11.in b/problems/thewolves/data/secret/11.in new file mode 100644 index 0000000..fad083b --- /dev/null +++ b/problems/thewolves/data/secret/11.in @@ -0,0 +1 @@ +200 300 diff --git a/problems/thewolves/data/secret/12.ans b/problems/thewolves/data/secret/12.ans new file mode 100644 index 0000000..e5667eb --- /dev/null +++ b/problems/thewolves/data/secret/12.ans @@ -0,0 +1 @@ +3200 1100 Yes diff --git a/problems/thewolves/data/secret/12.in b/problems/thewolves/data/secret/12.in new file mode 100644 index 0000000..3557769 --- /dev/null +++ b/problems/thewolves/data/secret/12.in @@ -0,0 +1 @@ +300 500 diff --git a/problems/thewolves/data/secret/13.ans b/problems/thewolves/data/secret/13.ans new file mode 100644 index 0000000..a3d432a --- /dev/null +++ b/problems/thewolves/data/secret/13.ans @@ -0,0 +1 @@ +6000 2000 Yes diff --git a/problems/thewolves/data/secret/13.in b/problems/thewolves/data/secret/13.in new file mode 100644 index 0000000..24c334a --- /dev/null +++ b/problems/thewolves/data/secret/13.in @@ -0,0 +1 @@ +500 1000 diff --git a/problems/thewolves/data/secret/14.ans b/problems/thewolves/data/secret/14.ans new file mode 100644 index 0000000..7cd3135 --- /dev/null +++ b/problems/thewolves/data/secret/14.ans @@ -0,0 +1 @@ +10000 3500 Yes diff --git a/problems/thewolves/data/secret/14.in b/problems/thewolves/data/secret/14.in new file mode 100644 index 0000000..adfca49 --- /dev/null +++ b/problems/thewolves/data/secret/14.in @@ -0,0 +1 @@ +1000 1500 diff --git a/problems/thewolves/data/secret/2.ans b/problems/thewolves/data/secret/2.ans new file mode 100644 index 0000000..525ca49 --- /dev/null +++ b/problems/thewolves/data/secret/2.ans @@ -0,0 +1 @@ +12 4 No diff --git a/problems/thewolves/data/secret/2.in b/problems/thewolves/data/secret/2.in new file mode 100644 index 0000000..8d04f96 --- /dev/null +++ b/problems/thewolves/data/secret/2.in @@ -0,0 +1 @@ +1 2 diff --git a/problems/thewolves/data/secret/3.ans b/problems/thewolves/data/secret/3.ans new file mode 100644 index 0000000..470810b --- /dev/null +++ b/problems/thewolves/data/secret/3.ans @@ -0,0 +1 @@ +20 8 No diff --git a/problems/thewolves/data/secret/3.in b/problems/thewolves/data/secret/3.in new file mode 100644 index 0000000..bce4388 --- /dev/null +++ b/problems/thewolves/data/secret/3.in @@ -0,0 +1 @@ +3 2 diff --git a/problems/thewolves/data/secret/4.ans b/problems/thewolves/data/secret/4.ans new file mode 100644 index 0000000..85d9cda --- /dev/null +++ b/problems/thewolves/data/secret/4.ans @@ -0,0 +1 @@ +20 7 No diff --git a/problems/thewolves/data/secret/4.in b/problems/thewolves/data/secret/4.in new file mode 100644 index 0000000..654d526 --- /dev/null +++ b/problems/thewolves/data/secret/4.in @@ -0,0 +1 @@ +2 3 diff --git a/problems/thewolves/data/secret/5.ans b/problems/thewolves/data/secret/5.ans new file mode 100644 index 0000000..f3c8ff9 --- /dev/null +++ b/problems/thewolves/data/secret/5.ans @@ -0,0 +1 @@ +40 16 Yes diff --git a/problems/thewolves/data/secret/5.in b/problems/thewolves/data/secret/5.in new file mode 100644 index 0000000..9efb403 --- /dev/null +++ b/problems/thewolves/data/secret/5.in @@ -0,0 +1 @@ +6 4 diff --git a/problems/thewolves/data/secret/6.ans b/problems/thewolves/data/secret/6.ans new file mode 100644 index 0000000..951a67d --- /dev/null +++ b/problems/thewolves/data/secret/6.ans @@ -0,0 +1 @@ +32 12 Yes diff --git a/problems/thewolves/data/secret/6.in b/problems/thewolves/data/secret/6.in new file mode 100644 index 0000000..8835c07 --- /dev/null +++ b/problems/thewolves/data/secret/6.in @@ -0,0 +1 @@ +4 4 diff --git a/problems/thewolves/data/secret/7.ans b/problems/thewolves/data/secret/7.ans new file mode 100644 index 0000000..7d20fc2 --- /dev/null +++ b/problems/thewolves/data/secret/7.ans @@ -0,0 +1 @@ +48 19 Yes diff --git a/problems/thewolves/data/secret/7.in b/problems/thewolves/data/secret/7.in new file mode 100644 index 0000000..e5a3ec4 --- /dev/null +++ b/problems/thewolves/data/secret/7.in @@ -0,0 +1 @@ +7 5 diff --git a/problems/thewolves/data/secret/8.ans b/problems/thewolves/data/secret/8.ans new file mode 100644 index 0000000..9e58ceb --- /dev/null +++ b/problems/thewolves/data/secret/8.ans @@ -0,0 +1 @@ +44 16 Yes diff --git a/problems/thewolves/data/secret/8.in b/problems/thewolves/data/secret/8.in new file mode 100644 index 0000000..e605fb0 --- /dev/null +++ b/problems/thewolves/data/secret/8.in @@ -0,0 +1 @@ +5 6 diff --git a/problems/thewolves/data/secret/9.ans b/problems/thewolves/data/secret/9.ans new file mode 100644 index 0000000..a0c7bee --- /dev/null +++ b/problems/thewolves/data/secret/9.ans @@ -0,0 +1 @@ +480 170 Yes diff --git a/problems/thewolves/data/secret/9.in b/problems/thewolves/data/secret/9.in new file mode 100644 index 0000000..2055899 --- /dev/null +++ b/problems/thewolves/data/secret/9.in @@ -0,0 +1 @@ +50 70 diff --git a/problems/thewolves/domjudge-problem.ini b/problems/thewolves/domjudge-problem.ini new file mode 100644 index 0000000..2865791 --- /dev/null +++ b/problems/thewolves/domjudge-problem.ini @@ -0,0 +1,3 @@ +name = "The Wolves" +timelimit = 3 +points = 2 diff --git a/problems/thewolves/problem.pdf b/problems/thewolves/problem.pdf Binary files differnew file mode 100644 index 0000000..6448aa0 --- /dev/null +++ b/problems/thewolves/problem.pdf |