Run ID:131933

提交时间:2025-10-01 20:00:34

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int k,i,n,m,s=0,y; cin>>y>>m; for(int k=y;k<=y+10;k++){ if(k%4==0&&k%100!=0||k%400==0){ m=m*1.3; } else{ m=m*1.2; } } cout<<m; return 0; }