結果
| 問題 |
No.2945 Namiki Secondary School
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-10-25 21:22:45 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 483 bytes |
| コンパイル時間 | 2,658 ms |
| コンパイル使用メモリ | 244,020 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-25 21:22:49 |
| 合計ジャッジ時間 | 3,555 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 23 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll INF = 2e+18;
const ll MOD = 998244353;
void solve() {
int N;
cin >> N;
if (N >= 2008) cout << "Namiki Secondary School" << endl;
else if (N >= 1984) cout << "Namiki High School" << endl;
else cout << "None" << endl;
}
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout << fixed << setprecision(15);
int T = 1;
// cin >> T;
while (T--) solve();
}