Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5200 朱嘉铭 超市卖电池 C++ 解答错误 0 0 MS 248 KB 199 2020-07-28 11:19:55

Tests(0/1):


#include<bits/stdc++.h> using namespace std; int main () { int n; cin>>n; if(n<=10)cout<<n*2; else{ float a=n*0.9; printf("%.1lf",a); } return 0; }


测评信息: