結果

問題 No.3027 114514
ユーザー kohaku_kohakukohaku_kohaku
提出日時 2017-03-31 23:57:46
言語 Java19
(openjdk 21)
結果
WA  
実行時間 -
コード長 245 bytes
コンパイル時間 4,421 ms
コンパイル使用メモリ 71,036 KB
実行使用メモリ 57,824 KB
最終ジャッジ日時 2023-09-21 21:35:12
合計ジャッジ時間 4,225 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
55,760 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 118 ms
55,884 KB
testcase_05 WA -
testcase_06 AC 119 ms
55,424 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        String S = "7114514302";
        System.out.println(S.charAt(N-1));
    }
}
0