結果
| 問題 | No.8029 素因数 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-03-09 09:01:40 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 250 ms |
| コード長 | 200 bytes |
| 記録 | |
| コンパイル時間 | 403 ms |
| コンパイル使用メモリ | 73,152 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-08 04:24:23 |
| 合計ジャッジ時間 | 1,806 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 40 |
コンパイルメッセージ
main.cpp:9:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
9 | main()
| ^~~~
ソースコード
#include<iostream>
using namespace std;
int M;
int f[41]={0,
0,1,1,1,1,1,0,1,1,1,
0,1,1,1,1,1,0,1,0,1,
0,1,0,1,0,1,1,1,1,1,
0,1,0,1,1,1,0,1,1,1};
main()
{
cin>>M;
cout<<(f[M]?"odd":"even")<<endl;
}