Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
442838 沈郭栋 【C3-9】手机话费 C++ 编译错误 0 0 MS 0 KB 191 2026-05-30 15:20:21

Tests(0/0):


#include<bits/stdc++.h> using namespace std; int main(){ int m,s=0,d; cin>>m>>d; while(m>0){ d++; m--; s++; if (s==k){ m++; s=0; } } cout<<d; return 0; }


测评信息: