Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
75754 陈昊然 13投资金额II C++ Wrong Answer 0 MS 272 KB 259 2024-05-28 19:42:20

Tests(1/10):


Code:

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


Run Info:

------Input------
94 48
------Answer-----
405
------Your output-----
439