| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 148621 | 张晓冉 | 13投资金额 | C++ | Wrong Answer | 1 MS | 268 KB | 552 | 2026-02-27 17:13:46 |
#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(){ double m; cin>>m; int n; cin>>n; for(int i = n;i <= n+10;i++){ if(n % 4 == 0 && n % 100 != 0 || n % 400 == 0){ cout<<m * 1.3<<endl; return 0; }else{ cout<<m * 1.2<<endl; return 0; } } }
------Input------
92
------Answer-----
3464
------Your output-----
119.6