| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 69006 | 邓嘉瑶 | 13投资金额II | C++ | Wrong Answer | 0 MS | 276 KB | 202 | 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; }
------Input------
55 12
------Answer-----
102
------Your output-----
62