//暴力枚举#include<bits/stdc++.h>using namespace std;int a,b;int h[10];//对应星期几的奖励int month[]={31,31,28,31,30,31,30,31,31,30,31,30,31};//平年当中每个月份的天数int vis[35];//记录哪一天签到了int main(){ ios::sync_with_stdio(0),cin.tie(0),cout.tie(0); cin>>a>>b; for(int i=1;i<=7;i++) cin&g...