Run ID:69017

提交时间:2024-03-30 11:22:59

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