Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
117935 | 邹金行 | 参赛组别推荐 | C++ | Wrong Answer | 1 MS | 268 KB | 312 | 2025-04-20 19:48:20 |
#include <iostream> using namespace std; int main(){ int a; cin>>a; if(a<8){ cout<<"You are too young!"; }else if(a==8||a<=12){ cout<<"Welcome to Junior Class!"; }else if(a==13||a<=18){ cout<<"Welcome to Senior Class!"; }else if(a<=19){ cout<<"You are too old!"; } return 0; }
------Input------
31
------Answer-----
You are too old!
------Your output-----