| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 159208 | 钱炜懿 | 09优惠活动 | C++ | Wrong Answer | 0 MS | 276 KB | 282 | 2026-08-26 18:17:18 |
#include<bits/stdc++.h> using namespace std; int main(){ int x,y,P,G,S,A; double z; cin>>x>>y; if(x=P){ z=y*0.7; } else if(x=G){ z=y*0.8; } else if(x=S){ z=y*0.9; } else if(x=A){ z=y*0.95; } cout<<fixed<<setprecision(2)<<2; return 0; }
------Input------
C 100
------Answer-----
95.00
------Your output-----
2