Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
312349 丁虞轩 【C2-T】打电话计费 C++ 解答错误 0 0 MS 252 KB 198 2025-03-13 20:46:41

Tests(0/3):


#include<iostream> using namespace std; int main(){ double xx; cin>>xx; if(xx<=0.5)cout<<3; else if(xx>0.5){ for(double i=0.0;i<=xx;i++){ cout<<3+(i-0.5)*0.2; } } return 0; }


测评信息: