#include <iostream> using namespace std; int main(){ int n,y,r; int data[]={31,28,31,30,31,30,31,31,30,31,30,31};//下标对应月份,数值对应天数 while(cin>>n>>y>>r){ int sum; //将前面几个整月加上 for(int i=0;i<y-1;i++){ sum+=data[i]; } ...