Skip to main content

Types & Numbers

// #include <bits/stdc++.h>
#include <vector>
#include <iostream>
#include <climits>
#include <algorithm>
// #include <array>
//#include <string>

using namespace std;

#define ll long long
#define endl "\n"


Use cout << setprecision(15) << fixed;

Use cout << setprecision(15) << fixed; to prevent compiler to automatically convert big numbers into Scientific Notions like 1e6, 1e-9, etc

cout << setprecision(15) << fixed;
// cout << fixed << setprecision(20); // used competitive programmers

Learn Modulo Arithmetic or Modulo Arithmetic Inverse