@jutge.org/toolkit 4.4.20 → 4.4.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,11 +14,21 @@
14
14
 
15
15
  \ProblemInformation
16
16
 
17
+
18
+
17
19
  \Author\ {{author}}
18
20
  {{#if translator}}
19
21
  \\
20
22
  \Translator {{translator}}
21
23
  {{/if}}
24
+ {{#if event}}
25
+ \\
26
+ \Event\ {{event}}
27
+ {{/if}}
28
+ {{#if eventDate}}
29
+ \\
30
+ \EventDate\ {{eventDate}}
31
+ {{/if}}
22
32
 
23
33
  \bigskip
24
34
 
@@ -50,7 +50,6 @@ al nombre de cops que les campanades toquen començant a l'hora $h$:$m$
50
50
  i durant un periode de $t$
51
51
  minuts.
52
52
 
53
-
54
53
  \Sample
55
54
 
56
55
  \Observation
@@ -47,6 +47,8 @@ For each test case, output must include a line with an integer denoting the
47
47
  number of times that the bells sound starting at $h$:$m$ for a length of $\ell$
48
48
  minutes.Sample
49
49
 
50
+ \Sample
51
+
50
52
  \Observation
51
53
 
52
54
  This problem is from the 2nd UPC Programming Competition.
@@ -51,4 +51,6 @@
51
51
  \newcommand{\TxtProblemInformation}{Informació del problema}
52
52
  \newcommand{\TxtAuthor}{Autoria:}
53
53
  \newcommand{\TxtTranslator}{Traducció:}
54
- \newcommand{\TxtGeneration}{Generació:}
54
+ \newcommand{\TxtGeneration}{Generació:}
55
+ \newcommand{\TxtEvent}{Esdeveniment:}
56
+ \newcommand{\TxtEventDate}{Data:}
@@ -8,6 +8,8 @@
8
8
  \newcommand{\TxtTranslator}{Übersetzer:}
9
9
  \newcommand{\TxtGeneration}{Erstellt:}
10
10
  \newcommand{\TxtInterface}{Interface}
11
+ \newcommand{\TxtEventDate}{Datum:}
12
+ \newcommand{\TxtEvent}{Ereignis:}
11
13
 
12
14
  \newcommand{\TxtInput}{Eingabe}
13
15
  \newcommand{\TxtOutput}{Ausgabe}
@@ -57,4 +57,6 @@
57
57
  \newcommand{\TxtProblemInformation}{Problem information}
58
58
  \newcommand{\TxtAuthor}{Author:}
59
59
  \newcommand{\TxtTranslator}{Translator:}
60
- \newcommand{\TxtGeneration}{Generation:}
60
+ \newcommand{\TxtGeneration}{Generation:}
61
+ \newcommand{\TxtEvent}{Event:}
62
+ \newcommand{\TxtEventDate}{Date:}
@@ -51,4 +51,6 @@
51
51
  \newcommand{\TxtProblemInformation}{Información del problema}
52
52
  \newcommand{\TxtAuthor}{Autoría:}
53
53
  \newcommand{\TxtTranslator}{Traducción:}
54
- \newcommand{\TxtGeneration}{Generación:}
54
+ \newcommand{\TxtGeneration}{Generación:}
55
+ \newcommand{\TxtEventDate}{Fecha:}
56
+ \newcommand{\TxtEvent}{Evento:}
@@ -56,3 +56,5 @@
56
56
  \newcommand{\TxtAuthor}{Auteur:}
57
57
  \newcommand{\TxtTranslator}{Traducteur:}
58
58
  \newcommand{\TxtGeneration}{Génération:}
59
+ \newcommand{\TxtEventDate}{Date:}
60
+ \newcommand{\TxtEvent}{Événement:}
@@ -70,10 +70,8 @@
70
70
  \def\PbmId{#1}
71
71
  }
72
72
 
73
- \def\PbmEvent{}
74
- \newcommand{\ProblemEvent}[1]{
75
- \def\PbmEvent{\\#1}
76
- }
73
+ \newcommand{\Event}{{\TxtEvent{}}}
74
+ \newcommand{\EventDate}{{\TxtEventDate{}}}
77
75
 
78
76
  \newcommand{\Statement}{
79
77
  \vspace*{-2cm}
@@ -85,7 +83,6 @@
85
83
 
86
84
  \hrule~\\[1mm]
87
85
  {\Large{\textbf{\PbmTitle\hfill\PbmId}}}
88
- \PbmEvent
89
86
  \vspace*{2mm}
90
87
  \hrule
91
88
  \bigskip