| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 83216 | 王珠潏 | 09优惠活动 | C++ | Wrong Answer | 1 MS | 272 KB | 382 | 2024-07-14 10:15:43 |
#include<iostream> using namespace std; int main(){ int op; char c; cin>>c>>op; switch(c){ case 'P': cout<<op*0.700; break; case 'G': cout<<op*0.800; break; case 'S': cout<<op*0.900; break; case 'C': cout<<op*0.9500; break; } return 0; }
------Input------
C 100
------Answer-----
95.00
------Your output-----
95