| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 73421 | 王馨桐 | 参赛组别推荐 | C++ | Wrong Answer | 1 MS | 272 KB | 260 | 2024-05-18 20:16:14 |
#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<=18){ cout <<"Welcome to Junior Class!"; } else if(a>=19){ cout <<"You are too old!"; } return 0; }
------Input------
15
------Answer-----
Welcome to Senior Class!
------Your output-----
Welcome to Junior Class!