From 0b9c7a32b1f3a260e2ed40b6ed9daa3187e12cc4 Mon Sep 17 00:00:00 2001 From: Susmit Kumar Mishra Date: Wed, 3 Mar 2021 08:49:10 +0530 Subject: [PATCH] removed debug --- heap.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/heap.cpp b/heap.cpp index f1a4695..8d16508 100644 --- a/heap.cpp +++ b/heap.cpp @@ -1,14 +1,6 @@ #include using namespace std; -#ifndef ONLINE_JUDGE -template ostream& operator<<(ostream &os, const pair &p) { return os << '(' << p.first << ", " << p.second << ')'; } -template::value, typename T_container::value_type>::type> ostream& operator<<(ostream &os, const T_container &v) { os << '{'; string sep; for (const T &x : v) os << sep << x, sep = ", "; return os << '}'; } -void debug_out() { cout << endl; } -template void debug_out(Head H, Tail... T) { cout << ' ' << H; debug_out(T...); } -#define debug(...) cout << "[" << #__VA_ARGS__ << "]:", debug_out(__VA_ARGS__) -#else -#define debug(...) -#endif + class heap{//max heap A[parent(i)]>=A[i] public: int *a,n,h;