摘要:
2014-06-1201:11:10题意&思路:素数拆分,注意一下中间判素数直接输出而防止超时。#include #include #include using namespace std;bool isprime(long long x){ for(long long i = 2; i * ... 阅读全文
摘要:
#include <stdio.h> int judge(int y){ if((y%100==0&&y%400==0)||(y%100!=0&&y%4==0)) return 1; return 0; } int which_day(int year,int mon,int day){ int i 阅读全文