mirror of
https://gitlab.com/mfocko/Codeforces.git
synced 2024-12-22 11:51:24 +01:00
chore(cpp): add frequently used headers and yes/no
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
1464165a91
commit
2ef5f300ca
1 changed files with 12 additions and 0 deletions
|
@ -1,4 +1,13 @@
|
||||||
|
#include <algorithm>
|
||||||
|
#include <cassert>
|
||||||
|
#include <cctype>
|
||||||
|
#include <cstdint>
|
||||||
|
#include <functional>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <optional>
|
||||||
|
#include <sstream>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
namespace helpers {
|
namespace helpers {
|
||||||
|
|
||||||
|
@ -16,6 +25,9 @@ inline void answer(const T &ans) {
|
||||||
cout << ans << "\n";
|
cout << ans << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline void yes() { cout << "YES\n"; }
|
||||||
|
inline void no() { cout << "NO\n"; }
|
||||||
|
|
||||||
} // namespace helpers
|
} // namespace helpers
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
Loading…
Reference in a new issue