Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
312350 丁虞轩 【C2-T】打电话计费 C++ 编译错误 0 0 MS 0 KB 422 2025-03-13 21:06:37

Tests(0/0):


#include<iostream> #include<cmath> using namespace std; int main(){ double x; cin>>x; if(x==0.5){ cout<<3; return 0; } if(x>0.5);{ cout<<3+(x-0.5)/0.2; } return 0; } #include<iostream> #include<cmath> using namespace std; int main(){ double x; cin>>x; if(x==0.5){ cout<<3; return 0; } if(x>0.5);{ cout<<3+(x-0.5)/0.2; } return 0; }


测评信息: