| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 67855 | 欧阳槊远 | 09优惠活动 | C++ | Wrong Answer | 1 MS | 272 KB | 265 | 2024-03-17 15:09:28 |
#include<bits/stdc++.h> using namespace std; int main(){ double a; char b; cin>>b>>a; switch(b){ case 'P':cout<<a*0.7*1.0;break; case 'G':cout<<a*0.9*1.0;break; case 'S':cout<<a*0.95*1.0;break; default: cout<<" "; } return 0; }
------Input------
C 100
------Answer-----
95.00
------Your output-----