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