結果
問題 |
No.2945 Namiki Secondary School
|
ユーザー |
|
提出日時 | 2024-11-10 02:32:07 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 4 ms / 2,000 ms |
コード長 | 371 bytes |
コンパイル時間 | 921 ms |
コンパイル使用メモリ | 91,084 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-10 02:32:09 |
合計ジャッジ時間 | 2,056 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 23 |
ソースコード
#include <iostream> #include <vector> #include <algorithm> using namespace std; typedef long long ll; #define rep(i,a,n) for(int i=(a);i<(n);i++) int n; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); cin >> n; if(n<1984) cout << "None" << endl; else if(n<2008) cout << "Namiki High School" << endl; else cout << "Namiki Secondary School" << endl; }