From 17daaefee4ac72173355fef27c961468c72fb7a8 Mon Sep 17 00:00:00 2001 From: Amirul Islam <35567854+shiningflash@users.noreply.github.com> Date: Mon, 11 Mar 2019 00:44:33 +0600 Subject: [PATCH] Update maximum_number_with_occurance.cpp --- .../maximum_number_with_occurance.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/complicated version of segment tree/maximum_number_with_occurance.cpp b/complicated version of segment tree/maximum_number_with_occurance.cpp index 4d92222..abe7ed1 100644 --- a/complicated version of segment tree/maximum_number_with_occurance.cpp +++ b/complicated version of segment tree/maximum_number_with_occurance.cpp @@ -52,3 +52,13 @@ int main() { x = get_max(1, 0, 5, 0, 5); cout << x.first << " " << x.second << endl; } + +/* + +OUTPUT +------ +100001 1 +11 2 +107 1 + +*/