Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
126791 | 陈冠樾 | 参赛组别推荐 | C++ | Accepted | 1 MS | 272 KB | 336 | 2025-07-21 17:00:05 |
#include<bits/stdc++.h> using namespace std; int main() { int a; cin >> a; if (a < 8) { cout << "You are too young!"; } else if (8 <= a && a <= 12) { cout << "Welcome to Junior Class!"; } else if (12 <= a && a <= 18) { cout << "Welcome to Senior Class!"; } else { cout << "You are too old!"; } return 0; }