大意略。
熟悉输入输出。
/*
ID:g0feng1
LANG:C++
TASK:friday
*/
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <cstdio>
#include <string>
#include <cstring>
#include <cmath>
#include <vector>
#include <algorithm>
using namespace std;
int month[2][14] =
{
{0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31},
{0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}
};
int ans[11];
ifstream fin("friday.in");
ofstream fo......
阅读全文