From 2ef5f300cacfd4f41e8d244c997e7ff939b2b4df Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Mon, 10 Jul 2023 20:20:19 +0200 Subject: [PATCH] chore(cpp): add frequently used headers and yes/no Signed-off-by: Matej Focko --- .common/cpp/skeleton.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.common/cpp/skeleton.cpp b/.common/cpp/skeleton.cpp index d39ba41..26785f3 100644 --- a/.common/cpp/skeleton.cpp +++ b/.common/cpp/skeleton.cpp @@ -1,4 +1,13 @@ +#include +#include +#include +#include +#include #include +#include +#include +#include +#include namespace helpers { @@ -16,6 +25,9 @@ inline void answer(const T &ans) { cout << ans << "\n"; } +inline void yes() { cout << "YES\n"; } +inline void no() { cout << "NO\n"; } + } // namespace helpers namespace {