結果

問題 No.3029 素因数
ユーザー kuuso1kuuso1
提出日時 2017-04-01 00:35:04
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 56 ms / 250 ms
コード長 1,519 bytes
コンパイル時間 2,199 ms
コンパイル使用メモリ 98,512 KB
実行使用メモリ 22,840 KB
最終ジャッジ日時 2023-09-21 21:03:50
合計ジャッジ時間 5,971 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
22,740 KB
testcase_01 AC 55 ms
22,828 KB
testcase_02 AC 55 ms
20,752 KB
testcase_03 AC 54 ms
20,820 KB
testcase_04 AC 55 ms
22,800 KB
testcase_05 AC 55 ms
20,676 KB
testcase_06 AC 54 ms
20,624 KB
testcase_07 AC 55 ms
20,716 KB
testcase_08 AC 55 ms
20,804 KB
testcase_09 AC 55 ms
20,868 KB
testcase_10 AC 55 ms
18,704 KB
testcase_11 AC 55 ms
20,884 KB
testcase_12 AC 55 ms
20,876 KB
testcase_13 AC 54 ms
20,692 KB
testcase_14 AC 54 ms
20,736 KB
testcase_15 AC 55 ms
20,880 KB
testcase_16 AC 54 ms
20,800 KB
testcase_17 AC 55 ms
22,724 KB
testcase_18 AC 54 ms
22,836 KB
testcase_19 AC 55 ms
20,800 KB
testcase_20 AC 54 ms
22,748 KB
testcase_21 AC 55 ms
20,708 KB
testcase_22 AC 55 ms
20,608 KB
testcase_23 AC 55 ms
22,728 KB
testcase_24 AC 54 ms
20,740 KB
testcase_25 AC 54 ms
22,792 KB
testcase_26 AC 54 ms
22,744 KB
testcase_27 AC 53 ms
20,820 KB
testcase_28 AC 54 ms
20,780 KB
testcase_29 AC 55 ms
20,820 KB
testcase_30 AC 55 ms
20,696 KB
testcase_31 AC 55 ms
20,692 KB
testcase_32 AC 55 ms
22,780 KB
testcase_33 AC 56 ms
20,892 KB
testcase_34 AC 54 ms
22,712 KB
testcase_35 AC 54 ms
20,872 KB
testcase_36 AC 55 ms
22,660 KB
testcase_37 AC 55 ms
20,828 KB
testcase_38 AC 54 ms
22,840 KB
testcase_39 AC 54 ms
20,760 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Threading;
class TEST{
	static void Main(){
		Sol mySol =new Sol();
		mySol.Solve();
	}
}

class Sol{
	public void Solve(){
		String[] A = new String[50];
A[4]="odd";
A[10]="odd";
A[16]="odd";
A[20]="odd";
A[26]="odd";
A[31]="even";
A[36]="odd";
A[40]="odd";
A[18]="odd";
A[22]="odd";
A[27]="odd";
A[29]="odd";
A[30]="odd";
A[38]="odd";
A[33]="even";
A[11]="even";
A[8]="odd";
A[37]="even";
A[3]="odd";
A[17]="even";
A[39]="odd";
A[2]="odd";
A[7]="even";
A[21]="even";
A[9]="odd";
A[32]="odd";
A[23]="even";
A[15]="odd";
A[13]="odd";
A[24]="odd";
A[5]="odd";
A[12]="odd";
A[25]="even";
A[1]="even";
A[6]="odd";
A[28]="odd";
A[14]="odd";
A[19]="even";
A[35]="odd";
A[34]="odd";

Console.WriteLine(A[M]);
	}
	int M;
	public Sol(){
		M = ri();
	}

	static String rs(){return Console.ReadLine();}
	static int ri(){return int.Parse(Console.ReadLine());}
	static long rl(){return long.Parse(Console.ReadLine());}
	static double rd(){return double.Parse(Console.ReadLine());}
	static String[] rsa(char sep=' '){return Console.ReadLine().Split(sep);}
	static int[] ria(char sep=' '){return Array.ConvertAll(Console.ReadLine().Split(sep),e=>int.Parse(e));}
	static long[] rla(char sep=' '){return Array.ConvertAll(Console.ReadLine().Split(sep),e=>long.Parse(e));}
	static double[] rda(char sep=' '){return Array.ConvertAll(Console.ReadLine().Split(sep),e=>double.Parse(e));}
}
0