excel大法结合string.find大法
#include <bits/stdc++.h>
using namespace std;
const int N = 1e3 + 10;
char a[N];
string s;
string s1 = "星期一";
int main()
{
// 使用excel来进行填充,显示出日期,然后复制
int cnt = 0;
for(int i = 1; i <= 36525; i++){
getline(cin,s);
if(s.find(s1) != -1){
cnt++;
}
}
cout << cnt << endl;
return 0;
}