結果
問題 |
No.8029 素因数
|
ユーザー |
![]() |
提出日時 | 2017-03-31 22:29:21 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 911 bytes |
コンパイル時間 | 600 ms |
コンパイル使用メモリ | 92,420 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-07 04:53:43 |
合計ジャッジ時間 | 1,540 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 28 WA * 12 |
ソースコード
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <algorithm> #include <utility> #include <functional> #include <cstring> #include <queue> #include <stack> #include <math.h> #include <iterator> #include <vector> #include <string> #include <set> #include <math.h> #include <iostream> #include<map> #include <iomanip> #include <time.h> #include <random> #include <stdlib.h> #include <list> #include <typeinfo> #include <list> #include <set> using namespace std; #define LONG_INF 10000000000000000 #define MAX_MOD 1000000007 #define REP(i,n) for(long long i = 0;i < n;++i) int hoge[50] = {}; int main() { int n; cin >> n; hoge[13] = true; hoge[14] = true; hoge[21] = true; hoge[23] = true; hoge[27] = true; hoge[30] = true; hoge[31] = true; hoge[33] = true; hoge[39] = true; if (hoge[n] == true) n++; if (n % 2 == 0) { cout << "odd" << endl; } else cout << "even" << endl; return 0; }