Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
150362 赵奕杰 09优惠活动 C++ Wrong Answer 1 MS 272 KB 239 2026-03-27 19:07:14

Tests(0/4):


Code:

#include<bits/stdc++.h> using namespace std; int b; char a; int main(){ cin>>a>>b; switch(a){ case 'P': cout<<b*1.0*0.7; case 'G': cout<<b*1.0*0.8; case 'S': cout<<b*1.0*0.9; default:cout<<b*1.0*0.95; } return 0; }


Run Info:

------Input------
C 100
------Answer-----
95.00
------Your output-----
95