結果

問題 No.8029 素因数
ユーザー kuuso1
提出日時 2017-04-01 00:35:04
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 22 ms / 250 ms
コード長 1,519 bytes
コンパイル時間 724 ms
コンパイル使用メモリ 106,240 KB
実行使用メモリ 17,792 KB
最終ジャッジ日時 2024-07-07 14:26:18
合計ジャッジ時間 2,342 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 40
権限があれば一括ダウンロードができます
コンパイルメッセージ
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