| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 69005 | 何思佳 | 13投资金额II | C++ | Wrong Answer | 1 MS | 268 KB | 211 | 2024-03-30 11:14:44 |
#include<iostream> using namespace std; int main(){ int a,b; cin>>a>>b; for(int i=a;i<=a+9;i++){ if(a%400==0||(a%4==0&&a%100!=0)){ b*=1.3; }else{ b*=1.2; } } cout<<b; return 0; }
------Input------
55 12
------Answer-----
102
------Your output-----
62