結果
問題 |
No.8029 素因数
|
ユーザー |
|
提出日時 | 2020-03-09 09:01:40 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 250 ms |
コード長 | 200 bytes |
コンパイル時間 | 544 ms |
コンパイル使用メモリ | 62,208 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-07 20:51:52 |
合計ジャッジ時間 | 1,701 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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; }