View BigInt.cpp
// In the name of Allah. | |
// We're nothing and you're everything. | |
// Ya Ali! | |
#include <bits/stdc++.h> | |
using namespace std; | |
typedef long long ll; | |
const int maxn = 1e2 + 14, lg = 15; |
View PATULJCI.cpp
// God & me | |
// Together :) | |
#include <bits/stdc++.h> | |
using namespace std; | |
const int maxn = 3e5 + 17, undef = maxn - 1; | |
int n, m, c; | |
vector<int> vec[maxn]; | |
struct node{ | |
int l, r, ans; | |
node(){ l = r = ans = undef; } |
View 600E.cpp
//God & me // ya mahdi adrekni | |
//@Shayan_Cheshmjahan: Oh my friend, congratulations! | |
#include <bits/stdc++.h> | |
#define pb push_back | |
using namespace std; | |
const int maxn=1e5+12; | |
int n,col[maxn],sz[maxn],maxx,cnt[maxn]; | |
long long ans[maxn],can; | |
bool badboy[maxn]; | |
vector<int>g[maxn]; |