Skip to content

Commit 0a0b79b

Browse files
committed
updated 2223 term 1 layout
1 parent d810e65 commit 0a0b79b

File tree

6 files changed

+50
-87
lines changed

6 files changed

+50
-87
lines changed

2223_t1/1/problem.tex

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
\addcontentsline{toc}{subsection}{Problem Won}
2-
\LARGE \circled{1} \textbf{Problem Won} \normalsize
3-
4-
{\itshape Are you the quiz champion?}
1+
\togglefalse{IsScore}
2+
\problem{1}{Problem Won}{Keegan R}
3+
{Are you the quiz champion?}
54

65
The Computing Society has had enough.
76
Tired of marking all our quiz nights by hand, we've come up with a brilliant new strategy - creating a bespoke scoring application from scratch!
@@ -18,9 +17,9 @@
1817
\hline
1918
\textbf{Name} & Round 1 & Round 2 & Round 3 & Round 4 & \textbf{Rounds Won} \\
2019
\hline
21-
Alice & 8 & 4 & 1 & \cellcolor{cyan}9 & 1\\
22-
Bob & \cellcolor{cyan}9 & 4 & \cellcolor{cyan}2 & 3 & \cellcolor{yellow}2 \\
23-
Charlie & 7 & \cellcolor{cyan}10 & 0 & 5 & 1 \\
20+
Alice & 8 & 4 & 1 & \cellcolor{uwcsblue}9 & 1\\
21+
Bob & \cellcolor{uwcsblue}9 & 4 & \cellcolor{uwcsblue}2 & 3 & \cellcolor{uwcsyellow}2 \\
22+
Charlie & 7 & \cellcolor{uwcsblue}10 & 0 & 5 & 1 \\
2423
\hline
2524
\end{tabular}
2625
\end{table}

2223_t1/2/problem.tex

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
\addcontentsline{toc}{subsection}{Zeroed Out}
2-
\LARGE \circled{2} \textbf{Zeroed Out} \normalsize
3-
4-
{\itshape Nothing is precious}
1+
\togglefalse{IsScore}
2+
\problem{2}{Zeroed Out}{Keegan R}
3+
{Nothing is precious}
54

65
There are four basic infix operations: add, subtract, multiply, divide.
76

2223_t1/3/problem.tex

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
\addcontentsline{toc}{subsection}{My Server Rules}
2-
\LARGE \circled{3} \textbf{My Server Rules} \normalsize
3-
4-
{\itshape How am I even meant to follow these?}
1+
\togglefalse{IsScore}
2+
\problem{3}{My Server Rules}{Keegan R}
3+
{How are we even meant to follow these?}
54

65
As an assistant to the supreme leader of a newly created Discord server, you have been tasked with enforcing the rules with an iron fist.
76
Unfortunately for you, your wise and benevolent leader got a little bit carried away while writing them.

2223_t1/4/problem.tex

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
\addcontentsline{toc}{subsection}{Catch My Drift}
2-
\LARGE \circled{4} \textbf{Catch My Drift} \normalsize
3-
4-
{\itshape Slowly drifting\dots}
1+
\togglefalse{IsScore}
2+
\problem{4}{Catch My Drift}{Keegan R}
3+
{Slowly drifting\dots}
54

65
In the real world, clocks aren't perfect.
76
Not even digital ones!

2223_t1/5/problem.tex

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
\addcontentsline{toc}{subsection}{Sideways Shooters}
2-
\LARGE \circled{5} \textbf{Sideways Shooters} \normalsize
3-
4-
{\itshape A very peculiar bandit ritual}
1+
\toggletrue{IsScore}
2+
\problem{5}{Sideways Shooters}{Keegan R}
3+
{A very peculiar bandit ritual}
54

65
The greatest group standoff in the wild, wild west draws near.
76
The red and blue factions of the sideways shooters, both sworn enemies, are bringing their best to form an interlocking spectacle.

2223_t1/problems.tex

Lines changed: 32 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,57 @@
1-
\documentclass[a4paper,11pt,parskip=half-]{scrartcl}
2-
3-
% Packages
4-
5-
\usepackage[english]{babel}
6-
\usepackage{array}
7-
\usepackage{amsmath}
8-
\usepackage[table]{xcolor}
9-
\usepackage[colorlinks=true, allcolors=blue]{hyperref}
10-
\usepackage{graphicx}
11-
\usepackage[a4paper,top=2cm,bottom=2cm,left=2cm,right=2cm,marginparwidth=1.75cm]{geometry}
12-
13-
\usepackage[defaultfam,tabular]{montserrat}
14-
\usepackage[scaled]{beramono}
15-
\usepackage[T1]{fontenc}
16-
% \renewcommand*\oldstylenums[1]{{\fontfamily{Montserrat-TOsF}\selectfont #1}}
17-
18-
\usepackage{wrapfig}
19-
\usepackage{pmboxdraw}
20-
\usepackage[most]{tcolorbox}
21-
\usepackage{tikz}
22-
\usepackage{caption}
23-
\usepackage{subcaption}
24-
25-
\newcommand*\circled[1]{\tikz[baseline=(char.base)]{
26-
\node[shape=circle,draw,inner sep=2pt] (char) {#1};}}
27-
28-
\graphicspath{{../common/}}
29-
\pagestyle{empty}
30-
\setkomafont{section}{\usefont{T1}{fvs}{b}{n}\Large}
31-
32-
\renewcommand{\arraystretch}{1.5}
33-
34-
\newtcolorbox{exampleinput}[1][]{
35-
sharp corners,
36-
enhanced,
37-
colback=white,
38-
attach title to upper,
39-
#1
40-
}
1+
\documentclass[a4paper,11pt,parskip=half-]{scrartcl}
2+
% scrartcl for Montserrat
413

42-
\usepackage{fancyhdr}
43-
\pagestyle{fancy}
44-
\fancyhf{}
45-
\renewcommand{\headrulewidth}{0pt}
46-
\fancyfoot[EOCF]{\includegraphics[scale=0.05]{logo_wide.png}}
47-
\fancyfoot[R]{\thepage}
4+
\input{../common/common.tex}
485

496
\begin{document}
507

518
\begin{wrapfigure}{r}{0.2\textwidth}
52-
\vspace{-10pt} % Move shield in line with text
9+
\vspace{-10pt} % Move in line with text
5310
\includegraphics[width=0.9\linewidth]{shield.png}
5411
\vspace{-100pt} % Prevent text below from moving out of the way
5512
\end{wrapfigure}
5613

57-
\normalfont \Huge \bfseries UWCS Challenge
14+
{
15+
\Huge \bfseries UWCS Challenge
16+
}
5817

59-
\normalfont\Large A friendlier programming competition
60-
\normalsize
18+
{
19+
\Large A friendlier programming competition
20+
}
6121

6222
\section*{Introduction}
6323

64-
Welcome to the Term 1 edition of UWCS Challenge - our internal progcomp!
65-
There will be pizza.
66-
There will be prizes!
67-
There will be problems.
68-
Inside this document, you'll find the specification for each of the 5 problems, and instructions on how you can submit.
69-
70-
The \textbf{first three problems} will be released at the same time, with the remaining releases staggered throughout the evening.
71-
The problem number roughly correlates with the level of difficulty.
72-
Good luck, and have fun!
24+
Welcome to our internal progcomp!
25+
There will be problems. There will be prizes! And of course, there will be pizza.
26+
This document contains specifications for the 5 problems.
7327

28+
For each problem, you will need to process your solution on various input datasets, then submit the outputs (and your code) for scoring.
29+
This is all handled by our website:
7430
\begin{center}
75-
\huge \url{https://progcomp.uwcs.co.uk} \normalsize
31+
\huge \href{https://challenge.uwcs.co.uk}{challenge.uwcs.co.uk}
7632
\end{center}
7733

34+
There are 100 (+25) points available for each problem.
35+
The base 100 points are divided across each input file.
36+
For example - if there are 5 input files, each is worth up to 20 points.
37+
Each input file has multiple test cases, so you can get partial marks.
38+
Fully complete a problem and get a bonus 25 points - a nice incentive for finishing it off!
7839

79-
\tableofcontents
40+
Later problems may be score-based, so won't have a designated solution.
41+
For these, points are awarded by ranking teams on their score for each input dataset, and scaling that from 0 to 100.
42+
To be ranked, your score must be non-negative.
8043

81-
\addcontentsline{toc}{section}{Problems}
82-
\input{0/problem.tex}
44+
The first 3 problems will be released simultaneously.
45+
The rest will be staggered. \\
46+
Good luck, and have fun!
8347

84-
\newpage
48+
\vspace{16pt}
49+
\hrule
50+
\vspace{16pt}
8551

52+
\input{../common/sample_problem/problem.tex}
8653

54+
\newpage
8755

8856
\input{1/problem.tex}
8957
\newpage

0 commit comments

Comments
 (0)