結果
問題 |
No.8029 素因数
|
ユーザー |
![]() |
提出日時 | 2017-04-01 00:32:57 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 1,508 bytes |
コンパイル時間 | 783 ms |
コンパイル使用メモリ | 105,984 KB |
実行使用メモリ | 17,920 KB |
最終ジャッジ日時 | 2024-07-07 14:25:59 |
合計ジャッジ時間 | 2,369 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 WA * 30 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
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[2]="odd"; A[5]="odd"; A[8]="odd"; A[10]="odd"; A[13]="odd"; A[15]="even"; A[18]="odd"; A[20]="odd"; A[9]="odd"; A[11]="odd"; A[13]="odd"; A[14]="odd"; A[15]="odd"; A[19]="odd"; A[16]="even"; A[5]="even"; A[4]="odd"; A[18]="even"; A[1]="odd"; A[8]="even"; A[19]="odd"; A[1]="odd"; A[3]="even"; A[10]="even"; A[4]="odd"; A[16]="odd"; A[11]="even"; A[7]="odd"; A[6]="odd"; A[12]="odd"; A[2]="odd"; A[6]="odd"; A[12]="even"; A[0]="even"; A[3]="odd"; A[14]="odd"; A[7]="odd"; A[9]="even"; A[17]="odd"; A[17]="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));} }