Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
66529 邓嘉瑶 09优惠活动 C++ Wrong Answer 1 MS 272 KB 278 2024-03-09 11:54:43

Tests(0/4):


Code:

#include <bits/stdc++.h> using namespace std; int main (){ char P,G,S; int a; cin>>P>>G>>S>>a; if(P){ printf("%.2d",a*0.7); }else if(G){ printf("%.2d",a*0.8); }else if(S){ printf("%.2d",a*0.9); }else{ printf("%.2d",a*0.95); } return 0; }


Run Info:

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