mirror of
https://github.com/20kaushik02/leetcode-gulag.git
synced 2025-12-06 11:44:06 +00:00
23 lines
347 B
C++
23 lines
347 B
C++
#include <bits/stdc++.h>
|
|
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);
|
|
}; |