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
//https://www.acmicpc.net/problem/1717 | |
#include <cstdio> | |
#define MAX 1000001 | |
int sets[MAX]; | |
int max(int a, int b) { | |
return a > b ? a : b; | |
} |
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
//https://www.acmicpc.net/problem/9252 | |
#include <cstdio> | |
#include <cstring> | |
#include <stack> | |
#include <algorithm> | |
#define MAX_LEN 1001 | |
using namespace std; | |
char str1[MAX_LEN], str2[MAX_LEN]; |