Run ID:69006
提交时间:2024-03-30 11:14:45
#include<bits/stdc++.h> using namespace std; int main(){ int Y,Z; cin>>Y>>Z; for(int i=Y;i<=Y+9;i++){ if(Y%100==0&&Y%400==0){ Z=Z*1.3; }else{ Z=Z*1.2; }} cout<<Z; return 0; }