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
#define _CRT_SECURE_NO_WARNINGS | |
#include<iostream> | |
#include<algorithm> | |
using namespace std; | |
int N,ans; | |
int temp[11]; | |
int num[12]; | |
void init(); |
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
#define _CRT_SECURE_NO_WARNINGS | |
#include<iostream> | |
using namespace std; | |
int ans, N, X; | |
int map[20][20]; | |
void function(); | |
int row(int x); | |
int col(int y); |
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
#define _CRT_SECURE_NO_WARNINGS | |
#include<iostream> | |
using namespace std; | |
void function(); | |
int ans,K; | |
bool gear[5][9]; | |
void Rotation(int order, int what); | |
void rotation(int order, bool left, bool right, int what); |
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
#define _CRT_SECURE_NO_WARNINGS | |
#include<iostream> | |
#include<vector> | |
#include<algorithm> | |
using namespace std; | |
void init(); | |
void Function(); | |
int ans; | |
int map[17][17]; |
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
#define _CRT_SECURE_NO_WARNINGS | |
#include<iostream> | |
#include<vector> | |
#include<algorithm> | |
using namespace std; | |
void init(); | |
void Function(); | |
int ans; | |
int map[17][17]; |
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<iostream> | |
using namespace std; | |
int n; | |
int coin[21]; | |
void input(); | |
void output(int a); | |
int ans=401; |
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<iostream> | |
#include<vector> | |
#include<queue> | |
#include<algorithm> | |
using namespace std; | |
int who_zero[101]; | |
int ans[101]; | |
int power[101][101]; | |
int n,m; |
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<iostream> | |
#include<queue> | |
#include<vector> | |
using namespace std; | |
int n,m; | |
int cnt[1001]; | |
queue<int> ans; | |
vector<int> vec[1001]; | |
queue<int> q; |
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<iostream> | |
#include<queue> | |
#include<vector> | |
using namespace std; | |
int n,m; | |
int cnt[32001]; | |
queue<int>q; | |
queue<int> ans; | |
vector<int> vec[32001]; |
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 <cstdio> | |
#include <algorithm> | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <map> | |
#define INF 987654321 | |
using namespace std; | |
int n, r, x, y; | |
string a, b, c; |
NewerOlder