-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.tex
37 lines (25 loc) · 1.06 KB
/
example.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
% Example taken from the InfO(1)Cup contest 2022.
\documentclass[en]{problem}
\title{Aplusb}
\date{11}{2}{2022}
\contest{InfO(1) Cup, Practice Round}
\location{Ploiești, Romania}
\logo{logo.png}
\begin{document}
\maketitle
In order to solve the great \textfrak{Millenium Puzzle}, Yugi must first solve an incredibly difficult mathematical problem! Given two integers $\mathfrak{A}$ and $\mathfrak{B}$, he must compute $\mathfrak{A} + \mathfrak{B}$. Unfortunately he spent all his time at school learning how to play card games, and doesn't know how to do this --- can you help him?
\section{Input data}
The only line of the input contains the two integers $\mathfrak{A}$ and $\mathfrak{B}$.
\section{Output data}
Output $\mathfrak{A} + \mathfrak{B}$ on the first line of the output.
\begin{restrictions}[
\item $1 \leq \mathfrak{A}, \mathfrak{B} \leq \np{1000000000}$.
]
\restr{50}{$1 \leq \mathfrak{A}, \mathfrak{B} \leq 1000$}
\restr{50}{No further restrictions.}
\end{restrictions}
\begin{examples}
\exmp{1 2}{3}%
\exmp{100 200}{300}%
\end{examples}
\end{document}