1497-check-if-array-pairs-are-divisible-by-k

This commit is contained in:
2024-10-01 00:23:49 -07:00
parent 44dd48d78b
commit 307f93425a
6 changed files with 176 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
#include "soln.hpp"
bool Solution::DEBUG = true;

View File

@@ -3,6 +3,21 @@ using namespace std;
class Solution
{
public:
static bool DEBUG;
template <typename... Args>
void dbg(Args &&...args)
{
if (DEBUG)
{
const char *sep = " ";
const char *label = "[DEBUG]";
cout << label;
(((cout << sep << args), sep = sep), ...);
cout << endl;
}
}
bool test(, bool answer);
};