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

Tests(0/10):


Code:

#include <bits/stdc++.h> using namespace std; int main (){ int a,e; cin>>e>>a; for(int i=1;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------
55 12
------Answer-----
102
------Your output-----
85