This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
struct Complex { | |
int real, imag; | |
Complex(int r = 0, int i =0) {real = r; imag = i;} | |
Complex operator + (Complex const &obj) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
#define fastio ios_base::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL) | |
#define lli long long int | |
#define rep(i,n,z) for(int i=z;i<n;i++) | |
#define rrep(i,z) for(int i=z;i>=0;i--) | |
#define nl cout<<endl | |
#define vi vector<int> | |
#define vlli vector<long long int> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
struct st{ | |
int mn; | |
int x; | |
string name; | |
st(){ | |
mn=50; |