| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 145464 | 徐文雅 | 09优惠活动 | C++ | Wrong Answer | 0 MS | 272 KB | 304 | 2026-01-25 15:36:17 |
#include<bits/stdc++.h> using namespace std; int main(){ char a; double b; cin>>a>>b; if(a=='P') printf("%lf.2",b*70/100); else if(a=='G') printf("%lf.2",b*80/100); else if(a=='S') printf("%lf.2",b*90/100); else printf("%lf.2",b*95/100); return 0; }
------Input------
C 100
------Answer-----
95.00
------Your output-----
95.000000.2