Run ID:150362

提交时间:2026-03-27 19:07:14

#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; }