Run ID:69007

提交时间:2024-03-30 11:16:30

#include<bits/stdc++.h> using namespace std; int main(){ int Y,Z; cin>>Y>>Z; for(int i=Y;i<=Y+9;i++){ if(i%400==0||(i%4==0&&i%100!=0)){ Z=Z*1.3; }else{ Z=Z*1.2; }} cout<<Z; return 0; }