Run ID:90831
提交时间:2024-09-16 17:50:17
# include<iostream> using namespace std; int main(){ int y,m; cin>>y>>m; for(int i=y;i<=y+10;i++){ if(y%400==0&&y%4==0&&y%100!=0){ m+=m*0.3; } else m+=m*0.2; } cout<<m<<endl; return 0; }