結果

問題 No.2049 POP
ユーザー viral8viral8
提出日時 2022-10-01 08:11:26
言語 Java21
(openjdk 21)
結果
AC  
実行時間 120 ms / 2,000 ms
コード長 220 bytes
コンパイル時間 1,865 ms
コンパイル使用メモリ 71,168 KB
実行使用メモリ 56,524 KB
最終ジャッジ日時 2023-08-25 01:07:06
合計ジャッジ時間 4,493 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 116 ms
56,524 KB
testcase_01 AC 117 ms
56,216 KB
testcase_02 AC 117 ms
56,236 KB
testcase_03 AC 118 ms
56,148 KB
testcase_04 AC 117 ms
56,068 KB
testcase_05 AC 120 ms
56,328 KB
testcase_06 AC 119 ms
56,156 KB
testcase_07 AC 118 ms
56,072 KB
testcase_08 AC 118 ms
56,284 KB
testcase_09 AC 118 ms
56,032 KB
testcase_10 AC 119 ms
56,372 KB
testcase_11 AC 117 ms
56,148 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(sc.next().substring(1,N-1));
    }
}
0