結果

問題 No.292 芸名
ユーザー TwinkleStar74TwinkleStar74
提出日時 2017-10-29 04:10:38
言語 Java21
(openjdk 21)
結果
AC  
実行時間 51 ms / 2,000 ms
コード長 496 bytes
コンパイル時間 3,507 ms
コンパイル使用メモリ 73,568 KB
実行使用メモリ 36,956 KB
最終ジャッジ日時 2024-05-01 21:46:10
合計ジャッジ時間 4,116 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 48 ms
36,848 KB
testcase_01 AC 49 ms
36,692 KB
testcase_02 AC 49 ms
36,716 KB
testcase_03 AC 51 ms
36,868 KB
testcase_04 AC 50 ms
36,952 KB
testcase_05 AC 48 ms
36,668 KB
testcase_06 AC 48 ms
36,956 KB
testcase_07 AC 49 ms
36,768 KB
testcase_08 AC 49 ms
36,948 KB
testcase_09 AC 49 ms
36,712 KB
testcase_10 AC 49 ms
36,824 KB
testcase_11 AC 47 ms
36,760 KB
testcase_12 AC 47 ms
36,692 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class No292 {
	public static void main(String[] args) throws IOException{
		String[] str = new BufferedReader(new InputStreamReader(System.in)).readLine().split(" ");
		int t = Integer.parseInt(str[1]);
		int u = Integer.parseInt(str[2]);
		char[] chr = str[0].toCharArray();
		for(int i=0; i < chr.length; i++){
			if(i != t && i != u) System.out.print(chr[i]);
		}
		System.out.println();
	}
}
0