結果
問題 |
No.8029 素因数
|
ユーザー |
![]() |
提出日時 | 2019-07-19 05:03:50 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 250 ms |
コード長 | 274 bytes |
コンパイル時間 | 1,969 ms |
コンパイル使用メモリ | 170,484 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-25 23:56:00 |
合計ジャッジ時間 | 2,866 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 40 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { int m; cin >> m; set<int> st = {1, 7, 11, 17, 19, 21, 23, 25, 31, 33, 37}; if (st.count(m) == 1) { cout << "even" << endl; } else { cout << "odd" << endl; } return 0; }