Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
1494 吴奕希 08打车费用 C++ Wrong Answer 0 MS 264 KB 287 2023-09-30 19:47:03

Tests(0/10):


Code:

# include<iostream> using namespace std; int main() { long long s; cin>>s; if(s>10) { printf("%f", 20.4+2.7*(s-10)); } else if(s>2) { printf("%f", 6+1.8*(s-2)); } else { printf("6"); } return 0; }


Run Info:

------Input------
7
------Answer-----
15
------Your output-----
15.000000