diff options
Diffstat (limited to 'problems/boatraceanalysis')
43 files changed, 537 insertions, 0 deletions
diff --git a/problems/boatraceanalysis/attachments/template.c b/problems/boatraceanalysis/attachments/template.c new file mode 100644 index 0000000..0fa2b86 --- /dev/null +++ b/problems/boatraceanalysis/attachments/template.c @@ -0,0 +1,21 @@ +#include <stdlib.h> +#include <stdio.h> +#include <string.h> +#include <stdbool.h> + +int main() +{ + int n; + scanf("%d", &n); fgetc(stdin); + for (int i = 0; i < n; i++) { + char analysis[1025]; + scanf("%[^\n]", analysis); fgetc(stdin); + } + + // Write an answer using printf(). DON'T FORGET THE TRAILING \n + // To debug: fprintf(stderr, "Debug messages...\n"); + + printf("one line per boat with its position or one line per analysis causing an error\n"); + + return 0; +} diff --git a/problems/boatraceanalysis/attachments/template.cpp b/problems/boatraceanalysis/attachments/template.cpp new file mode 100644 index 0000000..2cb2feb --- /dev/null +++ b/problems/boatraceanalysis/attachments/template.cpp @@ -0,0 +1,21 @@ +#include <iostream> +#include <string> +#include <vector> +#include <algorithm> + +using namespace std; + +int main() +{ + int n; + cin >> n; cin.ignore(); + for (int i = 0; i < n; i++) { + string analysis; + getline(cin, analysis); + } + + // Write an answer using cout. DON'T FORGET THE "<< endl" + // To debug: cerr << "Debug messages..." << endl; + + cout << "one line per boat with its position or one line per analysis causing an error" << endl; +} diff --git a/problems/boatraceanalysis/attachments/template.java b/problems/boatraceanalysis/attachments/template.java new file mode 100644 index 0000000..eba7341 --- /dev/null +++ b/problems/boatraceanalysis/attachments/template.java @@ -0,0 +1,22 @@ +import java.util.*; +import java.io.*; +import java.math.*; + +class Solution { + + public static void main(String args[]) { + Scanner in = new Scanner(System.in); + int n = in.nextInt(); + if (in.hasNextLine()) { + in.nextLine(); + } + for (int i = 0; i < n; i++) { + String analysis = in.nextLine(); + } + + // Write an answer using System.out.println() + // To debug: System.err.println("Debug messages..."); + + System.out.println("one line per boat with its position or one line per analysis causing an error"); + } +} 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'); diff --git a/problems/boatraceanalysis/attachments/template.py b/problems/boatraceanalysis/attachments/template.py new file mode 100644 index 0000000..2c704f2 --- /dev/null +++ b/problems/boatraceanalysis/attachments/template.py @@ -0,0 +1,11 @@ +import sys +import math + +n = int(input()) +for i in range(n): + analysis = input() + +# Write an answer using print +# To debug: print("Debug messages...", file=sys.stderr, flush=True) + +print("one line per boat with its position or one line per analysis causing an error") diff --git a/problems/boatraceanalysis/data/secret/1.ans b/problems/boatraceanalysis/data/secret/1.ans new file mode 100644 index 0000000..aecea89 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/1.ans @@ -0,0 +1,3 @@ +_ B +_ _ E +F diff --git a/problems/boatraceanalysis/data/secret/1.in b/problems/boatraceanalysis/data/secret/1.in new file mode 100644 index 0000000..d08e60b --- /dev/null +++ b/problems/boatraceanalysis/data/secret/1.in @@ -0,0 +1,3 @@ +2 +E is in front of B +B is in front of F diff --git a/problems/boatraceanalysis/data/secret/10.ans b/problems/boatraceanalysis/data/secret/10.ans new file mode 100644 index 0000000..c62124e --- /dev/null +++ b/problems/boatraceanalysis/data/secret/10.ans @@ -0,0 +1,3 @@ +_ Dock Holiday +_ Knot on call +Nacho Boat diff --git a/problems/boatraceanalysis/data/secret/10.in b/problems/boatraceanalysis/data/secret/10.in new file mode 100644 index 0000000..edf68b7 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/10.in @@ -0,0 +1,3 @@ +2 +Dock Holiday is in front of Nacho Boat +Knot on call is in front of Nacho Boat diff --git a/problems/boatraceanalysis/data/secret/11.ans b/problems/boatraceanalysis/data/secret/11.ans new file mode 100644 index 0000000..e263e03 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/11.ans @@ -0,0 +1,6 @@ +Amy's wine-house +Happy hours +_ In a meeting +_ _ _ In deep ship +_ _ Nacho Boat +_ Pier pressure diff --git a/problems/boatraceanalysis/data/secret/11.in b/problems/boatraceanalysis/data/secret/11.in new file mode 100644 index 0000000..1b5194a --- /dev/null +++ b/problems/boatraceanalysis/data/secret/11.in @@ -0,0 +1,7 @@ +6 +In deep ship is in front of In a meeting +Pier pressure is in front of Amy's wine-house +Nacho Boat is in front of Pier pressure +In a meeting is in front of Happy hours +Nacho Boat is in front of In a meeting +In deep ship is in front of Nacho Boat diff --git a/problems/boatraceanalysis/data/secret/12.ans b/problems/boatraceanalysis/data/secret/12.ans new file mode 100644 index 0000000..6614c3b --- /dev/null +++ b/problems/boatraceanalysis/data/secret/12.ans @@ -0,0 +1,6 @@ +Beeracuda +_ _ _ In solvant Sea +_ Knot for sail +_ _ Knot on call +Plan C +_ Zombies can't swim diff --git a/problems/boatraceanalysis/data/secret/12.in b/problems/boatraceanalysis/data/secret/12.in new file mode 100644 index 0000000..c304cdc --- /dev/null +++ b/problems/boatraceanalysis/data/secret/12.in @@ -0,0 +1,7 @@ +6 +In solvant Sea is in front of Knot for sail +Knot on call is in front of Zombies can't swim +Knot for sail is in front of Plan C +Knot on call is in front of Knot for sail +Zombies can't swim is in front of Beeracuda +In solvant Sea is in front of Knot on call diff --git a/problems/boatraceanalysis/data/secret/13.ans b/problems/boatraceanalysis/data/secret/13.ans new file mode 100644 index 0000000..ff5e724 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/13.ans @@ -0,0 +1,4 @@ +In solvant Sea is in front of Titanic II +Grouds for divorce is in front of Hurricane +Grouds for divorce is not ahead of Hurricane +Titanic II is in front of In solvant Sea diff --git a/problems/boatraceanalysis/data/secret/13.in b/problems/boatraceanalysis/data/secret/13.in new file mode 100644 index 0000000..13cbf6d --- /dev/null +++ b/problems/boatraceanalysis/data/secret/13.in @@ -0,0 +1,16 @@ +15 +In solvant Sea is in front of Titanic II +Grouds for divorce is in front of Hurricane +Pier pressure is in front of Titanic II +Grouds for divorce is in front of In solvant Sea +Knot paid for is not ahead of Hurricane +Grouds for divorce is not ahead of Hurricane +Knot paid for is not ahead of Grouds for divorce +Plan B is in front of Knot paid for +Pier pressure is not ahead of Plan B +Titanic II is not ahead of Forced family fun +Hurricane is in front of Plan B +Titanic II is in front of In solvant Sea +Forced family fun is not ahead of Plan B +Knot paid for is not ahead of Pier pressure +Forced family fun is in front of Pier pressure diff --git a/problems/boatraceanalysis/data/secret/14.ans b/problems/boatraceanalysis/data/secret/14.ans new file mode 100644 index 0000000..5551185 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/14.ans @@ -0,0 +1,4 @@ +Amy's wine-house is not ahead of In deep ship +No Regrets is in front of Sea Ya +Sea Ya is in front of No Regrets +Amy's wine-house is in front of In deep ship diff --git a/problems/boatraceanalysis/data/secret/14.in b/problems/boatraceanalysis/data/secret/14.in new file mode 100644 index 0000000..e237e90 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/14.in @@ -0,0 +1,16 @@ +15 +Amy's wine-house is not ahead of In deep ship +No Regrets is in front of Sea Ya +In deep ship is in front of Eclipse +Eggs-ta-Sea is not ahead of Eclipse +Beeracuda is in front of Eggs-ta-Sea +Eggs-ta-Sea is in front of Sea Ya +Eclipse is in front of Gypsea +Sea Ya is in front of No Regrets +Gypsea is not ahead of Amy's wine-house +Amy's wine-house is in front of In deep ship +Beeracuda is not ahead of Eclipse +Gypsea is not ahead of Eggs-ta-Sea +Amy's wine-house is in front of No Regrets +Gypsea is not ahead of In deep ship +Sea Ya is not ahead of Beeracuda diff --git a/problems/boatraceanalysis/data/secret/15.ans b/problems/boatraceanalysis/data/secret/15.ans new file mode 100644 index 0000000..16129ff --- /dev/null +++ b/problems/boatraceanalysis/data/secret/15.ans @@ -0,0 +1,20 @@ +_ _ _ _ _ _ _ _ _ Aboat time +_ _ _ _ _ _ _ At last +_ _ _ _ _ _ _ _ _ _ Beeracuda +_ _ _ _ Friendship +_ _ _ _ _ Gypsea +_ _ _ _ _ _ _ _ Hydro therapy +In deep ship +_ _ Island Time +_ _ _ _ _ _ _ _ _ _ Just add wind +_ _ _ Knot on call +Liquid asset +Nacho Boat +_ _ _ _ _ _ _ _ No Regrets +_ _ _ _ _ _ _ Piece of ship +_ Plan C +_ _ _ _ _ _ _ _ _ _ Pura vida +_ _ _ _ _ _ Real time +_ _ _ _ _ Sea Ya +_ _ _ _ _ _ _ Ship faced +_ _ Zombies can't swim diff --git a/problems/boatraceanalysis/data/secret/15.in b/problems/boatraceanalysis/data/secret/15.in new file mode 100644 index 0000000..19a539d --- /dev/null +++ b/problems/boatraceanalysis/data/secret/15.in @@ -0,0 +1,41 @@ +40 +Real time is in front of Nacho Boat +Zombies can't swim is in front of Plan C +Ship faced is in front of Island Time +Just add wind is in front of At last +No Regrets is in front of Ship faced +Plan C is in front of Liquid asset +Aboat time is in front of Nacho Boat +Knot on call is in front of Island Time +In deep ship is not ahead of Zombies can't swim +Beeracuda is not ahead of Pura vida +In deep ship is not ahead of At last +At last is in front of Real time +Hydro therapy is in front of Plan C +Beeracuda is in front of Piece of ship +Island Time is in front of Plan C +Beeracuda is in front of Sea Ya +Aboat time is in front of Hydro therapy +Sea Ya is in front of Island Time +Sea Ya is in front of Friendship +Piece of ship is in front of Real time +Gypsea is in front of In deep ship +Real time is in front of Sea Ya +Gypsea is in front of Friendship +Pura vida is not ahead of Just add wind +Pura vida is in front of Zombies can't swim +Aboat time is in front of Zombies can't swim +Zombies can't swim is not ahead of Knot on call +No Regrets is in front of Island Time +Hydro therapy is in front of Ship faced +Beeracuda is in front of Gypsea +Ship faced is in front of Real time +No Regrets is in front of Gypsea +Friendship is in front of Knot on call +Liquid asset is not ahead of Hydro therapy +Just add wind is in front of Piece of ship +Real time is in front of In deep ship +Friendship is in front of Plan C +Just add wind is in front of Island Time +Beeracuda is in front of Aboat time +Knot on call is in front of Liquid asset diff --git a/problems/boatraceanalysis/data/secret/16.ans b/problems/boatraceanalysis/data/secret/16.ans new file mode 100644 index 0000000..3c4b311 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/16.ans @@ -0,0 +1,20 @@ +_ _ _ _ _ _ _ _ _ Berth control +_ _ _ _ Ctrl + Alt + Delete +_ _ _ _ _ _ _ _ Dock Holiday +Eggs-ta-Sea +_ _ _ _ _ Error 404 Fish not found +_ _ _ _ _ _ _ _ _ _ Finally +_ _ Gypsies on Sea +_ _ _ _ _ _ _ _ _ _ Hakuna matata +_ _ _ _ _ _ Happy hours +_ _ Irish wake +_ _ _ _ _ _ _ _ _ _ Knot for sail +_ Miss conduct +_ _ _ _ _ _ _ On the rocks +_ _ _ Pier pressure +_ _ _ _ _ _ _ _ She got the house +_ _ _ _ _ _ _ Tax Sea-vation +The salt shaker +Usain Boat +_ _ _ _ _ _ _ Water you lookin'at ? +_ _ _ _ _ What's up dock ? diff --git a/problems/boatraceanalysis/data/secret/16.in b/problems/boatraceanalysis/data/secret/16.in new file mode 100644 index 0000000..bd46d73 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/16.in @@ -0,0 +1,41 @@ +40 +Knot for sail is in front of Irish wake +Berth control is in front of The salt shaker +Usain Boat is not ahead of She got the house +Error 404 Fish not found is in front of Ctrl + Alt + Delete +What's up dock ? is in front of Irish wake +Hakuna matata is not ahead of Knot for sail +Dock Holiday is in front of Irish wake +Berth control is in front of Gypsies on Sea +Tax Sea-vation is in front of Irish wake +Ctrl + Alt + Delete is in front of Pier pressure +Ctrl + Alt + Delete is in front of Miss conduct +Knot for sail is in front of On the rocks +Berth control is in front of She got the house +Tax Sea-vation is in front of Happy hours +Eggs-ta-Sea is not ahead of On the rocks +She got the house is in front of Tax Sea-vation +Happy hours is in front of Eggs-ta-Sea +Dock Holiday is in front of Error 404 Fish not found +Miss conduct is in front of Usain Boat +Finally is in front of What's up dock ? +Pier pressure is in front of Irish wake +Happy hours is in front of What's up dock ? +Dock Holiday is in front of Tax Sea-vation +On the rocks is in front of Happy hours +Irish wake is in front of Miss conduct +Error 404 Fish not found is in front of Eggs-ta-Sea +Finally is in front of Error 404 Fish not found +Finally is not ahead of Hakuna matata +Happy hours is in front of The salt shaker +What's up dock ? is in front of Ctrl + Alt + Delete +Finally is in front of Water you lookin'at ? +She got the house is in front of Miss conduct +Gypsies on Sea is not ahead of Pier pressure +Finally is in front of Berth control +Gypsies on Sea is in front of Miss conduct +Eggs-ta-Sea is not ahead of Gypsies on Sea +Water you lookin'at ? is in front of Happy hours +Pier pressure is in front of Usain Boat +Knot for sail is in front of Water you lookin'at ? +Hakuna matata is in front of Gypsies on Sea diff --git a/problems/boatraceanalysis/data/secret/17.ans b/problems/boatraceanalysis/data/secret/17.ans new file mode 100644 index 0000000..3e37067 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/17.ans @@ -0,0 +1,35 @@ +_ _ _ _ Aboat time +Aquaholic +_ At last +_ Beeracuda +_ Ctrl + Alt + Delete +_ _ _ Dock Holiday +Error 404 Fish not found +_ _ _ _ _ Fantasea +_ Finally +_ _ _ Fishful thinkin' +Flash +_ _ _ Friendship +Grouds for divorce +_ _ _ _ Hydro therapy +_ _ _ _ _ In deep ship +Just add wind +_ _ _ _ _ _ _ Knot for sail +_ _ Knot paid for +_ _ Little boat +_ _ Miss conduct +_ _ _ _ _ Nacho Boat +_ No Regrets +_ _ _ _ _ _ Pier pressure +_ _ _ _ Plan C +_ _ _ _ _ _ Real time +_ Rock bottom +_ _ Sea Senora +_ _ _ _ Sea Ya +_ Ship faced +_ _ Tax Sea-vation +_ _ _ _ _ _ The salt shaker +Titanic II +Water runner +_ What's up dock ? +_ _ _ Zombies can't swim diff --git a/problems/boatraceanalysis/data/secret/17.in b/problems/boatraceanalysis/data/secret/17.in new file mode 100644 index 0000000..ea8a238 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/17.in @@ -0,0 +1,52 @@ +51 +Ctrl + Alt + Delete is in front of Aquaholic +In deep ship is in front of Titanic II +What's up dock ? is not ahead of Aboat time +Zombies can't swim is in front of Ctrl + Alt + Delete +Beeracuda is in front of Grouds for divorce +Flash is not ahead of Fantasea +The salt shaker is in front of Fantasea +Friendship is in front of What's up dock ? +Friendship is in front of Little boat +Knot paid for is in front of Rock bottom +In deep ship is not ahead of Fantasea +The salt shaker is not ahead of Real time +Aboat time is in front of Friendship +Flash is not ahead of Little boat +Pier pressure is in front of Rock bottom +Ship faced is not ahead of Rock bottom +Flash is not ahead of The salt shaker +Error 404 Fish not found is not ahead of Friendship +Nacho Boat is in front of Hydro therapy +At last is not ahead of Tax Sea-vation +Tax Sea-vation is not ahead of Hydro therapy +The salt shaker is not ahead of Pier pressure +Sea Ya is not ahead of Hydro therapy +Little boat is not ahead of Miss conduct +At last is in front of Water runner +No Regrets is not ahead of What's up dock ? +Just add wind is not ahead of Little boat +Pier pressure is in front of What's up dock ? +Ship faced is in front of Just add wind +Error 404 Fish not found is not ahead of Ctrl + Alt + Delete +Zombies can't swim is in front of Miss conduct +Finally is in front of Flash +No Regrets is in front of Error 404 Fish not found +In deep ship is in front of Hydro therapy +Aboat time is not ahead of Sea Ya +Sea Ya is in front of Knot paid for +Real time is in front of Aboat time +Ctrl + Alt + Delete is not ahead of Zombies can't swim +Sea Senora is in front of Beeracuda +Miss conduct is in front of Titanic II +Pier pressure is in front of At last +Just add wind is not ahead of No Regrets +Knot for sail is in front of Real time +Tax Sea-vation is in front of What's up dock ? +Titanic II is not ahead of Tax Sea-vation +Little boat is in front of Rock bottom +Knot paid for is not ahead of Aboat time +Fishful thinkin' is in front of Tax Sea-vation +Plan C is in front of Dock Holiday +Friendship is not ahead of Dock Holiday +Hydro therapy is not ahead of Pier pressure diff --git a/problems/boatraceanalysis/data/secret/18.ans b/problems/boatraceanalysis/data/secret/18.ans new file mode 100644 index 0000000..4a03f3c --- /dev/null +++ b/problems/boatraceanalysis/data/secret/18.ans @@ -0,0 +1,35 @@ +_ _ _ _ _ _ Amy's wine-house +_ _ _ _ _ Berth control +_ Breaking Bass +_ _ _ _ Docked wages +Eclipse +_ _ _ _ _ _ Eggs-ta-Sea +_ Favorite mistake +_ Fishizzle +_ _ Forced family fun +_ _ _ Gypsea +Gypsies on Sea +Hakuna matata +_ _ _ _ _ Happy hours +_ _ _ _ _ Hurricane +_ _ _ _ In a meeting +In solvant Sea +Insubmersible 2 +_ _ _ _ Irish wake +Island Time +_ _ Knot on call +Liquid asset +_ Main mistress +_ _ _ _ Meteor +_ _ _ No worries +_ On the rocks +_ _ _ _ _ _ Piece of ship +_ _ _ Plan B +_ _ Pura vida +_ Rock bottom +_ _ _ _ _ _ _ Serenity +_ She got the house +_ _ Unfathomable +_ _ Unsinkable II +_ Usain Boat +_ _ _ Water you lookin'at ? diff --git a/problems/boatraceanalysis/data/secret/18.in b/problems/boatraceanalysis/data/secret/18.in new file mode 100644 index 0000000..a31c675 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/18.in @@ -0,0 +1,52 @@ +51 +She got the house is in front of Eclipse +Hurricane is in front of Docked wages +Gypsies on Sea is not ahead of Piece of ship +Breaking Bass is not ahead of In a meeting +Happy hours is not ahead of Berth control +Pura vida is in front of Main mistress +Water you lookin'at ? is in front of Breaking Bass +Water you lookin'at ? is in front of Unfathomable +Fishizzle is in front of Hakuna matata +She got the house is not ahead of No worries +Meteor is in front of Pura vida +Hakuna matata is not ahead of Water you lookin'at ? +In a meeting is not ahead of Meteor +Forced family fun is in front of Favorite mistake +Amy's wine-house is in front of In a meeting +No worries is in front of Knot on call +Eggs-ta-Sea is in front of Usain Boat +Unsinkable II is in front of Breaking Bass +Eggs-ta-Sea is in front of Main mistress +Fishizzle is not ahead of Breaking Bass +In a meeting is in front of Water you lookin'at ? +Knot on call is in front of Insubmersible 2 +On the rocks is in front of Island Time +Happy hours is in front of Docked wages +Meteor is not ahead of Docked wages +Docked wages is not ahead of Eggs-ta-Sea +Unfathomable is not ahead of Knot on call +Gypsea is in front of Unsinkable II +Eggs-ta-Sea is in front of Breaking Bass +Island Time is not ahead of Unfathomable +Pura vida is not ahead of In a meeting +No worries is in front of She got the house +Unsinkable II is not ahead of Docked wages +Gypsies on Sea is not ahead of Berth control +Water you lookin'at ? is not ahead of Plan B +Serenity is in front of Amy's wine-house +Rock bottom is in front of Gypsies on Sea +Usain Boat is in front of Liquid asset +Hakuna matata is not ahead of She got the house +Island Time is not ahead of Fishizzle +Piece of ship is in front of Berth control +Happy hours is in front of Insubmersible 2 +Favorite mistake is in front of In solvant Sea +Unfathomable is in front of Main mistress +Irish wake is in front of Plan B +Usain Boat is not ahead of Unsinkable II +On the rocks is not ahead of Main mistress +Piece of ship is not ahead of Amy's wine-house +Piece of ship is not ahead of Eggs-ta-Sea +Insubmersible 2 is not ahead of Unsinkable II +Gypsies on Sea is not ahead of Unfathomable diff --git a/problems/boatraceanalysis/data/secret/2.ans b/problems/boatraceanalysis/data/secret/2.ans new file mode 100644 index 0000000..92e5115 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/2.ans @@ -0,0 +1,3 @@ +A +_ C +_ _ D diff --git a/problems/boatraceanalysis/data/secret/2.in b/problems/boatraceanalysis/data/secret/2.in new file mode 100644 index 0000000..33601ce --- /dev/null +++ b/problems/boatraceanalysis/data/secret/2.in @@ -0,0 +1,3 @@ +2 +D is in front of C +C is in front of A diff --git a/problems/boatraceanalysis/data/secret/3.ans b/problems/boatraceanalysis/data/secret/3.ans new file mode 100644 index 0000000..6ba7e94 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/3.ans @@ -0,0 +1,4 @@ +_ d +g +_ _ i +_ w diff --git a/problems/boatraceanalysis/data/secret/3.in b/problems/boatraceanalysis/data/secret/3.in new file mode 100644 index 0000000..a534754 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/3.in @@ -0,0 +1,6 @@ +5 +d is not ahead of i +w is in front of g +g is not ahead of w +i is in front of d +d is in front of g diff --git a/problems/boatraceanalysis/data/secret/4.ans b/problems/boatraceanalysis/data/secret/4.ans new file mode 100644 index 0000000..ed083d6 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/4.ans @@ -0,0 +1,4 @@ +E +_ p +_ t +_ _ v diff --git a/problems/boatraceanalysis/data/secret/4.in b/problems/boatraceanalysis/data/secret/4.in new file mode 100644 index 0000000..f9f75a2 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/4.in @@ -0,0 +1,6 @@ +5 +E is not ahead of p +t is in front of E +v is in front of t +p is in front of E +t is not ahead of v diff --git a/problems/boatraceanalysis/data/secret/5.ans b/problems/boatraceanalysis/data/secret/5.ans new file mode 100644 index 0000000..9240b48 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/5.ans @@ -0,0 +1,2 @@ +e is not ahead of f +e is in front of f diff --git a/problems/boatraceanalysis/data/secret/5.in b/problems/boatraceanalysis/data/secret/5.in new file mode 100644 index 0000000..89b54f9 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/5.in @@ -0,0 +1,3 @@ +2 +e is not ahead of f +e is in front of f diff --git a/problems/boatraceanalysis/data/secret/6.ans b/problems/boatraceanalysis/data/secret/6.ans new file mode 100644 index 0000000..2956996 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/6.ans @@ -0,0 +1,2 @@ +G is in front of W +G is not ahead of W diff --git a/problems/boatraceanalysis/data/secret/6.in b/problems/boatraceanalysis/data/secret/6.in new file mode 100644 index 0000000..9a6aeec --- /dev/null +++ b/problems/boatraceanalysis/data/secret/6.in @@ -0,0 +1,3 @@ +2 +G is in front of W +G is not ahead of W diff --git a/problems/boatraceanalysis/data/secret/7.ans b/problems/boatraceanalysis/data/secret/7.ans new file mode 100644 index 0000000..b3034c5 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/7.ans @@ -0,0 +1,6 @@ +B +_ _ c +_ _ J +_ _ K +q +_ Y diff --git a/problems/boatraceanalysis/data/secret/7.in b/problems/boatraceanalysis/data/secret/7.in new file mode 100644 index 0000000..ad568fe --- /dev/null +++ b/problems/boatraceanalysis/data/secret/7.in @@ -0,0 +1,11 @@ +10 +J is in front of Y +B is not ahead of q +K is in front of q +q is not ahead of J +c is in front of B +B is not ahead of K +Y is not ahead of K +Y is in front of B +c is not ahead of K +c is in front of Y diff --git a/problems/boatraceanalysis/data/secret/8.ans b/problems/boatraceanalysis/data/secret/8.ans new file mode 100644 index 0000000..11ca192 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/8.ans @@ -0,0 +1,6 @@ +_ _ A +e +_ _ G +_ _ j +_ L +s diff --git a/problems/boatraceanalysis/data/secret/8.in b/problems/boatraceanalysis/data/secret/8.in new file mode 100644 index 0000000..5b293c5 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/8.in @@ -0,0 +1,11 @@ +10 +s is not ahead of e +e is not ahead of G +A is not ahead of j +j is in front of e +A is in front of L +L is not ahead of j +G is in front of L +A is in front of s +s is not ahead of j +L is in front of s diff --git a/problems/boatraceanalysis/data/secret/9.ans b/problems/boatraceanalysis/data/secret/9.ans new file mode 100644 index 0000000..808037b --- /dev/null +++ b/problems/boatraceanalysis/data/secret/9.ans @@ -0,0 +1,3 @@ +Aboat time +_ Beeracuda +_ Error 404 Fish not found diff --git a/problems/boatraceanalysis/data/secret/9.in b/problems/boatraceanalysis/data/secret/9.in new file mode 100644 index 0000000..6dc59d3 --- /dev/null +++ b/problems/boatraceanalysis/data/secret/9.in @@ -0,0 +1,3 @@ +2 +Beeracuda is in front of Aboat time +Error 404 Fish not found is in front of Aboat time diff --git a/problems/boatraceanalysis/domjudge-problem.ini b/problems/boatraceanalysis/domjudge-problem.ini new file mode 100644 index 0000000..8a40d74 --- /dev/null +++ b/problems/boatraceanalysis/domjudge-problem.ini @@ -0,0 +1,3 @@ +name = "Boat Race Analysis" +timelimit = 3 +points = 2 diff --git a/problems/boatraceanalysis/problem.pdf b/problems/boatraceanalysis/problem.pdf Binary files differnew file mode 100644 index 0000000..af74fb9 --- /dev/null +++ b/problems/boatraceanalysis/problem.pdf |