Skip to content

Instantly share code, notes, and snippets.

View tina1998612's full-sized avatar
:octocat:
DigitalNomad

李婷婷 Lee Ting Ting tina1998612

:octocat:
DigitalNomad
View GitHub Profile
//#include <bits/stdc++.h>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <cstdlib>
#include <set>
#include <sstream>
#include <vector>
#include <map>
#include <iostream>
//#include <bits/stdc++.h>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <cstdlib>
#include <set>
#include <sstream>
#include <vector>
#include <map>
#include <iostream>
//#include <bits/stdc++.h>
#include <stdio.h>
#include <cstdlib>
#include <cmath>
#include <algorithm>
#include <iostream>
#define PI 3.14159265
#define N 50000+5
#define ll long long
#define INF 2147483647
//#include <bits/stdc++.h>
#include <stdio.h>
#include <cstdlib>
#include <cmath>
#include <algorithm>
#include <iostream>
#define PI 3.14159265
#define N 50000+5
#define ll long long
#define INF 2147483647
//#include <bits/stdc++.h>
#include <stdio.h>
#include <cstdlib>
#include <cmath>
#include <algorithm>
#include <iostream>
#define PI 3.14159265
#define N 300+5
#define ll long long
#define INF 2147483647
//#include <bits/stdc++.h>
#include <stdio.h>
#include <cstdlib>
#include <cmath>
#include <algorithm>
#include <iostream>
#define PI 3.14159265
#define N 300+5
#define ll long long
#define INF 2147483647
//#include <bits/stdc++.h>
#include <stdio.h>
#include <cstdlib>
#include <cmath>
#include <algorithm>
#include <iostream>
#define PI 3.14159265
#define N 300+5
#define ll long long
#define INF 2147483647
#include <bits/stdc++.h>
#define N 300000+5
#define ll long long
#define INF 2147483647
using namespace std;
int n,place;
ll hv,b,w;
typedef pair<ll,ll> P;
priority_queue<P> sml;
priority_queue<ll,vector<ll>,greater<ll> > bg;
#include <stdio.h>
#include <algorithm>
#include <math.h>
#include <queue>
#include <cstring>
#define N 400
#define inf 0x7f7f7f7f
using namespace std;
int n,burn[N][N],x,y,bt,nx,ny,vis[N][N];
struct Node{
#include <stdio.h>
#include <stdlib.h>
#include <algorithm>
#include <math.h>
#include <queue>
#include <iostream>
#include <cstring>
#define N 1000000
#define inf 0x7f7f7f7f
using namespace std;