mirror of
https://github.com/20kaushik02/leetcode-gulag.git
synced 2026-01-25 07:34:05 +00:00
1497-check-if-array-pairs-are-divisible-by-k
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
#include "soln.hpp"
|
||||
|
||||
bool Solution::DEBUG = true;
|
||||
|
||||
@@ -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);
|
||||
};
|
||||
Reference in New Issue
Block a user