Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
368360 顾李奕 【C1-T】至少要买几瓶止咳糖浆? C++ 通过 100 2 MS 248 KB 180 2025-12-13 15:57:00

Tests(3/3):


#include<iostream> using namespace std; int main(){ int n; cin>>n; if(n>10) cout<<4; else if(n<=10&&n>=7) cout<<2; else if(n>=3&&n<=6) cout<<1; return 0; }


测评信息: