Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
165100 格林老师 09优惠活动 C++ Wrong Answer 1 MS 272 KB 267 2026-11-09 20:26:15

Tests(0/4):


Code:

#include <bits/stdc++.h> using namespace std; int main() { char c; double money; cin>>c>>money; if (c=='P') money*=0.7; else if(c=='G') money*=0.8; else if(c=='S') money*=0.9; else money*=0.95; cout<<money; return 0; }


Run Info:

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