Run ID:119729

提交时间:2025-05-18 16:52:25

#include<iostream> #include<cstdio> using namespace std; int main(){ int y,m; cin>>y>>m; for(int i=y;i<=y+10;i++){ if((i%4==0&&i%100!=0)||i%400==0) m=m*1.3; else m=m*1.2; } cout<<m; return 0; }