結果

問題 No.2460 #強調#
ユーザー kusagame12kusagame12
提出日時 2023-11-09 20:51:41
言語 Java21
(openjdk 21)
結果
AC  
実行時間 60 ms / 2,000 ms
コード長 334 bytes
コンパイル時間 2,081 ms
コンパイル使用メモリ 74,060 KB
実行使用メモリ 54,016 KB
最終ジャッジ日時 2023-11-09 20:51:45
合計ジャッジ時間 3,733 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 53 ms
53,980 KB
testcase_01 AC 53 ms
53,976 KB
testcase_02 AC 52 ms
51,980 KB
testcase_03 AC 60 ms
54,008 KB
testcase_04 AC 54 ms
54,016 KB
testcase_05 AC 52 ms
53,992 KB
testcase_06 AC 51 ms
53,984 KB
testcase_07 AC 52 ms
53,992 KB
testcase_08 AC 54 ms
53,980 KB
testcase_09 AC 54 ms
53,996 KB
testcase_10 AC 53 ms
54,004 KB
testcase_11 AC 52 ms
53,976 KB
testcase_12 AC 52 ms
54,004 KB
testcase_13 AC 53 ms
53,996 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.io.*;

public class Main {
    public static void main(String[] args) throws Exception {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        System.out.println(str.substring(str.indexOf('#')+1, str.lastIndexOf('#')));

    }

}
0