Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
318163 陈弈诺 【C1-T】 小明暑假的零花钱 C++ 解答错误 50 1 MS 256 KB 319 2025-04-18 20:09:44

Tests(2/4):


#include<iostream> using namespace std; int main(){ int n; cin>>n; switch(n/10) { case 9: cout<<n*3; break; case 8: cout<<n*2; break; case 7: cout<<n; default: { cout<<"50"; break; } } return 0; }


测评信息: