結果

問題 No.8029 素因数
ユーザー 西尾
提出日時 2018-03-07 16:06:57
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 250 ms
コード長 462 bytes
コンパイル時間 1,529 ms
コンパイル使用メモリ 166,876 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-02 08:52:27
合計ジャッジ時間 2,586 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 40
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

//int Yuki3029()
int main()
{
int M;

const bool b[] =
{
	false, true, true, true, true, true, false, true, true, true,
	false, true, true, true, true, true, false, true, false, true,
	false, true, false, true, false, true, true, true, true, true,
	false, true, false, true, true, true, false, true, true, true
};

	cin >> M;
	if( b[ M - 1 ] )
		cout << "odd" << endl;
	else
		cout << "even" << endl;

	return 0;
}
0