check an interactive program in c++ competitive programming code example
Example: c++ for competitive programming
// here is a template for competitive programming
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
// write your code here
}