| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 73422 | 王馨桐 | 参赛组别推荐 | C++ | Wrong Answer | 1 MS | 272 KB | 327 | 2024-05-18 20:19:38 |
#include<bits/stdc++.h> 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------
8
------Answer-----
Welcome to Junior Class!
------Your output-----
You are too young!