blob: 23ac7f25fdf0d04135e53d6dfe75463717f7ceef (
plain)
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
|
\section{Convenience-Methoden}
\subsection{Zeileneingabe}
\lstinputlisting{convenience/split.cpp}
\subsection{Sonstiges}
\begin{lstlisting}
// Alles-Header.
#include <bits/stdc++.h>
// Setzt das deutsche Tastaturlayout.
setxkbmap de
// Schnelle Ein-/Ausgabe mit cin/cout.
ios::sync_with_stdio(false);
// Set mit eigener Sortierfunktion. Typ muss nicht explizit angegeben werden.
set<point2, decltype(comp)> set1(comp);
// PI
#define PI (2*acos(0))
// STL-Debugging, Compiler flags.
-D_GLIBCXX_DEBUG
#define _GLIBCXX_DEBUG
\end{lstlisting}
|