結果

問題 No.292 芸名
ユーザー YukimotoPGYukimotoPG
提出日時 2019-02-14 08:24:35
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 283 bytes
コンパイル時間 2,109 ms
コンパイル使用メモリ 71,684 KB
実行使用メモリ 56,304 KB
最終ジャッジ日時 2023-10-11 12:29:13
合計ジャッジ時間 4,766 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
56,004 KB
testcase_01 AC 124 ms
55,848 KB
testcase_02 AC 125 ms
56,044 KB
testcase_03 AC 125 ms
56,156 KB
testcase_04 AC 123 ms
55,840 KB
testcase_05 AC 124 ms
56,288 KB
testcase_06 AC 124 ms
55,768 KB
testcase_07 AC 122 ms
56,176 KB
testcase_08 AC 124 ms
55,944 KB
testcase_09 AC 124 ms
56,304 KB
testcase_10 AC 124 ms
56,028 KB
testcase_11 AC 124 ms
55,736 KB
testcase_12 AC 125 ms
55,972 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		
		char[] ar = sc.next().toCharArray();
		ar[sc.nextInt()] = '-';
		ar[sc.nextInt()] = '-';
		System.out.println(String.valueOf(ar).replace("-",""));
		
		
	}
}
0