Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/contest/hash.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Hashes a file, ignoring all whitespace and comments. Use for
# verifying that code was correctly typed.
cpp -dD -P -fpreprocessed | tr -d '[:space:]'| md5sum |cut -c-6
cpp-16 -dD -P -fpreprocessed | tr -d '[:space:]' | md5sum | cut -c-6
24 changes: 20 additions & 4 deletions content/contest/template.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
#include <bits/stdc++.h>
using namespace std;

#define rep(i, a, b) for(int i = a; i < (b); ++i)
#define rep(i, a, b) for(long long i = (a); i < (b); ++i)
#define all(x) begin(x), end(x)
#define sz(x) (int)(x).size()
typedef long long ll;
typedef pair<int, int> pii;
typedef vector<int> vi;
#define UNIQUE(x) (x).erase(unique(all(x)), (x).end())
using ll = long long;
using pii = pair<int, int>;
template <typename T>
using vc = vector<T>;
using vi = vc<int>;
using vll = vc<ll>;

template <typename T1, typename T2>
inline bool chmin(T1 &a, T2 b) {
if(a > b) { a = b; return true; }
return false;
}

template <typename T1, typename T2>
inline bool chmax(T1 &a, T2 b) {
if(a < b) { a = b; return true; }
return false;
}

int main() {
cin.tie(0)->sync_with_stdio(0);
Expand Down
36 changes: 18 additions & 18 deletions content/kactl.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,32 @@
\usepackage{kactlpkg}
\kactlcontentdir{content}

\university{KTH}{KTH Royal Institute of Technology}{kth}
\team{Omogen Heap}{Simon Lindholm, Johan Sannemo, Mårten Wiman}
\university{KU}{Kyoto University}{ku}
\team{Informatical\_KU\_B-flow}{Ryoma Taniguchi, Yuki Yamaguchi, Reito Horii}
% \contest{ACM-ICPC World Finals 2017}{May 24, 2017}
\contest{\ }{\today}
% \enablecolors

\begin{document}
\maketeampage
% \maketeampage
% Small KACTL header on the first page:
% \maketitle{``One Last Time'' Edition}{\today}
\begin{multicols*}{3}
\thispagestyle{fancy}
% Table of contents, without subsections:
\setcounter{tocdepth}{0}
\tableofcontents

\kactlchapter{contest}
\kactlchapter{math}
\kactlchapter{data-structures}
\kactlchapter{numerical}
\kactlchapter{number-theory}
\kactlchapter{combinatorial}
\kactlchapter{graph}
\kactlchapter{geometry}
\kactlchapter{strings}
\kactlchapter{various}
% Table of contents, without subsections:
\setcounter{tocdepth}{0}
\tableofcontents
\thispagestyle{fancy}
\kactlchapter{contest}
\kactlchapter{math}
\kactlchapter{data-structures}
\kactlchapter{numerical}
\kactlchapter{number-theory}
\kactlchapter{combinatorial}
\kactlchapter{graph}
\kactlchapter{geometry}
\kactlchapter{strings}
\kactlchapter{various}
\end{multicols*}

\begin{multicols*}{3}
Expand Down
Binary file modified kactl.pdf
Binary file not shown.