This file contains hidden or 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> | |
#include <string.h> | |
#include <stdio.h> | |
#include <cmath> | |
#include <cstdlib> | |
#include <set> | |
#include <sstream> | |
#include <vector> | |
#include <map> | |
#include <iostream> |
This file contains hidden or 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> | |
#include <string.h> | |
#include <stdio.h> | |
#include <cmath> | |
#include <cstdlib> | |
#include <set> | |
#include <sstream> | |
#include <vector> | |
#include <map> | |
#include <iostream> |
This file contains hidden or 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> | |
#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 |
This file contains hidden or 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> | |
#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 |
This file contains hidden or 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> | |
#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 |
This file contains hidden or 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> | |
#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 |
This file contains hidden or 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> | |
#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 |
This file contains hidden or 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> | |
#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; |
This file contains hidden or 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 <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{ |
This file contains hidden or 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 <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; |
OlderNewer