Skip to content

Instantly share code, notes, and snippets.

View SilverRainZ's full-sized avatar

Shengyu Zhang SilverRainZ

View GitHub Profile
#include<cstdio>
#include<cstring>
bool pr[110];
void init()
{
int i,j;
memset(pr,true,sizeof(pr));
pr[0]=pr[1]=false;
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <cmath>
using namespace std;
typedef struct
{
int x;
int y;
}TPoint;