| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 144993 | c13 | 09优惠活动 | C++ | Wrong Answer | 0 MS | 268 KB | 251 | 2026-01-24 20:00:16 |
#include<bits/stdc++.h> using namespace std; int main(){ int a; char b; cin>>b>>a; if(b=='P')cout<<a*0.7<<endl; else if(b=='G')cout<<a*0.8<<endl; else if(b=='S')cout<<a*0.9<<endl; else cout<<a*0.95<<endl; return 0; }
------Input------
C 100
------Answer-----
95.00
------Your output-----
95