If you are trying to run this code and #include<bits/stdc++.h> is not working on your system, replace it with
#include<iostream>
#include<vector>
#include<map>
Then you check for compilation issue.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: