結果

問題 No.308 素数は通れません
ユーザー kuuso1kuuso1
提出日時 2015-12-01 01:17:36
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 1,137 bytes
コンパイル時間 2,415 ms
コンパイル使用メモリ 106,100 KB
実行使用メモリ 24,852 KB
最終ジャッジ日時 2023-10-12 06:26:12
合計ジャッジ時間 12,135 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
22,744 KB
testcase_01 AC 55 ms
22,748 KB
testcase_02 AC 55 ms
20,620 KB
testcase_03 AC 55 ms
20,764 KB
testcase_04 AC 56 ms
22,652 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 54 ms
20,692 KB
testcase_08 AC 56 ms
22,712 KB
testcase_09 AC 55 ms
20,776 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 55 ms
22,648 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 56 ms
20,608 KB
testcase_16 AC 56 ms
20,668 KB
testcase_17 AC 58 ms
20,768 KB
testcase_18 AC 56 ms
22,720 KB
testcase_19 AC 56 ms
20,688 KB
testcase_20 AC 56 ms
20,748 KB
testcase_21 AC 56 ms
22,732 KB
testcase_22 AC 56 ms
20,624 KB
testcase_23 AC 55 ms
20,552 KB
testcase_24 AC 55 ms
20,692 KB
testcase_25 AC 55 ms
20,628 KB
testcase_26 AC 56 ms
20,604 KB
testcase_27 AC 56 ms
20,680 KB
testcase_28 AC 55 ms
20,752 KB
testcase_29 AC 56 ms
20,752 KB
testcase_30 AC 56 ms
20,608 KB
testcase_31 AC 57 ms
22,664 KB
testcase_32 WA -
testcase_33 AC 55 ms
20,620 KB
testcase_34 AC 56 ms
20,808 KB
testcase_35 AC 56 ms
22,656 KB
testcase_36 AC 56 ms
20,636 KB
testcase_37 AC 55 ms
18,584 KB
testcase_38 AC 55 ms
20,616 KB
testcase_39 AC 55 ms
22,656 KB
testcase_40 AC 56 ms
22,800 KB
testcase_41 AC 55 ms
18,624 KB
testcase_42 AC 59 ms
22,736 KB
testcase_43 AC 55 ms
20,704 KB
testcase_44 AC 57 ms
22,724 KB
testcase_45 AC 55 ms
18,664 KB
testcase_46 AC 55 ms
22,752 KB
testcase_47 AC 59 ms
20,552 KB
testcase_48 AC 58 ms
22,672 KB
testcase_49 AC 57 ms
22,672 KB
testcase_50 AC 55 ms
20,612 KB
testcase_51 AC 55 ms
20,760 KB
testcase_52 AC 55 ms
20,612 KB
testcase_53 AC 55 ms
20,716 KB
testcase_54 AC 55 ms
20,712 KB
testcase_55 AC 55 ms
20,624 KB
testcase_56 AC 56 ms
20,652 KB
testcase_57 AC 56 ms
22,668 KB
testcase_58 AC 56 ms
22,660 KB
testcase_59 AC 56 ms
20,600 KB
testcase_60 AC 56 ms
20,716 KB
testcase_61 AC 56 ms
22,724 KB
testcase_62 AC 57 ms
20,548 KB
testcase_63 AC 56 ms
20,700 KB
testcase_64 AC 56 ms
20,660 KB
testcase_65 AC 56 ms
20,756 KB
testcase_66 AC 56 ms
20,616 KB
testcase_67 AC 56 ms
20,632 KB
testcase_68 RE -
testcase_69 RE -
testcase_70 RE -
testcase_71 RE -
testcase_72 RE -
testcase_73 RE -
testcase_74 RE -
testcase_75 RE -
testcase_76 WA -
testcase_77 AC 57 ms
20,696 KB
testcase_78 AC 55 ms
20,812 KB
testcase_79 AC 55 ms
20,600 KB
testcase_80 WA -
testcase_81 WA -
testcase_82 AC 56 ms
20,756 KB
testcase_83 AC 56 ms
20,608 KB
testcase_84 WA -
testcase_85 AC 56 ms
22,744 KB
testcase_86 WA -
testcase_87 WA -
testcase_88 AC 56 ms
20,628 KB
testcase_89 AC 55 ms
20,800 KB
testcase_90 WA -
testcase_91 RE -
testcase_92 RE -
testcase_93 RE -
testcase_94 RE -
testcase_95 RE -
testcase_96 AC 56 ms
22,588 KB
testcase_97 RE -
testcase_98 RE -
testcase_99 RE -
testcase_100 RE -
testcase_101 RE -
testcase_102 RE -
testcase_103 RE -
testcase_104 RE -
testcase_105 RE -
testcase_106 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
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;

class TEST{
	static void Main(){
		Sol mySol =new Sol();
		mySol.Solve();
	}
}

class Sol{
	public void Solve(){
		
		int ans=0;
		switch(N){
			case 4:	ans=3;break;
			case 6:	ans=5;break;
			case 8:	ans=7;break;
			case 9:	ans=7;break;
			case 10:	ans=7;break;
			case 15:	ans=7;break;
			case 16:	ans=7;break;
			case 22:	ans=7;break;
			default:	ans=8;break;
		}
		Console.WriteLine(ans);
		
		
		
		
	}
	long N;
	public Sol(){
		N=rl();
	}




	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(){return Console.ReadLine().Split(' ');}
	static int[] ria(){return Array.ConvertAll(Console.ReadLine().Split(' '),e=>int.Parse(e));}
	static long[] rla(){return Array.ConvertAll(Console.ReadLine().Split(' '),e=>long.Parse(e));}
	static double[] rda(){return Array.ConvertAll(Console.ReadLine().Split(' '),e=>double.Parse(e));}
}
0