Run ID:4991

提交时间:2024-10-19 20:54:04

#include<iostream> using namespace std; int main(){ int a,b; cin>>a>>b; switch(a){ case P: cout<<b*0.7; break; case G: cout<<b*0.8; break; case S: cout<<B*0.9; break; default:cout<<b*0.95; } return 0; }