結果

問題 No.3029 素因数
ユーザー ei1333333ei1333333
提出日時 2017-03-31 23:21:05
言語 C++11
(gcc 11.4.0)
結果
TLE  
実行時間 -
コード長 389 bytes
コンパイル時間 1,531 ms
コンパイル使用メモリ 143,324 KB
実行使用メモリ 4,564 KB
最終ジャッジ日時 2023-09-21 11:44:51
合計ジャッジ時間 7,172 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,380 KB
testcase_01 TLE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
testcase_13 RE -
testcase_14 RE -
testcase_15 RE -
testcase_16 AC 2 ms
4,376 KB
testcase_17 RE -
testcase_18 AC 2 ms
4,380 KB
testcase_19 RE -
testcase_20 RE -
testcase_21 AC 1 ms
4,380 KB
testcase_22 WA -
testcase_23 RE -
testcase_24 AC 1 ms
4,376 KB
testcase_25 RE -
testcase_26 RE -
testcase_27 RE -
testcase_28 RE -
testcase_29 RE -
testcase_30 AC 1 ms
4,380 KB
testcase_31 RE -
testcase_32 RE -
testcase_33 AC 1 ms
4,380 KB
testcase_34 AC 2 ms
4,380 KB
testcase_35 RE -
testcase_36 RE -
testcase_37 RE -
testcase_38 RE -
testcase_39 RE -
権限があれば一括ダウンロードができます

ソースコード

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) odd();
  if(M == 5) odd();
  if(M == 6) odd();
  if(M == 7) odd();
  if(M == 8) odd();
  if(M == 9) odd();


  throw (0);


}

0