| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 150367 | 赵奕杰 | 09优惠活动 | C++ | Wrong Answer | 1 MS | 276 KB | 264 | 2026-03-27 19:10:24 |
#include<bits/stdc++.h> using namespace std; int b; char a; int main(){ cin>>a>>b; switch(a){ case 'P': printf("%.2lf",b*0.7); case 'G': printf("%.2lf",b*0.8); case 'S': printf("%.2lf",b*0.9); default: printf("%.2lf",b*0.95); } return 0; }
------Input------
P 100
------Answer-----
70.00
------Your output-----
70.0080.0090.0095.00