結果

問題 No.8029 素因数
ユーザー ei1333333
提出日時 2017-03-31 23:18:22
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 289 bytes
コンパイル時間 1,307 ms
コンパイル使用メモリ 157,272 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-07 05:26:57
合計ジャッジ時間 5,601 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3 WA * 1 RE * 36
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>

using namespace std;

void even()
{
  cout << "even" << endl;
  exit(0);
}

void odd()
{
  cout << "odd" << endl;
  exit(0);
}

int main()
{
  int M;
  cin >> M;

  if(M == 1) even();
  if(M == 2) odd();
  if(M == 3) odd();
  if(M == 4) even();

  throw (0);


}

0