Skip to content

Instantly share code, notes, and snippets.

#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
//-------------------------------------------------------------------------------------
inline void error(const string& s)
{
throw runtime_error(s);
}
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
class error{};
int year_max = 99;
int day_max = 31;
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
class error{};
int year_max = 99;
int day_max = 31;