結果

問題 No.292 芸名
ユーザー TwinkleStar74TwinkleStar74
提出日時 2017-10-29 04:10:38
言語 Java21
(openjdk 21)
結果
AC  
実行時間 45 ms / 2,000 ms
コード長 496 bytes
コンパイル時間 3,037 ms
コンパイル使用メモリ 71,472 KB
実行使用メモリ 49,920 KB
最終ジャッジ日時 2023-08-14 09:09:44
合計ジャッジ時間 4,402 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
49,236 KB
testcase_01 AC 43 ms
49,300 KB
testcase_02 AC 43 ms
49,340 KB
testcase_03 AC 43 ms
49,516 KB
testcase_04 AC 42 ms
49,352 KB
testcase_05 AC 45 ms
49,920 KB
testcase_06 AC 43 ms
49,312 KB
testcase_07 AC 43 ms
49,344 KB
testcase_08 AC 43 ms
47,836 KB
testcase_09 AC 44 ms
49,248 KB
testcase_10 AC 45 ms
49,396 KB
testcase_11 AC 43 ms
49,440 KB
testcase_12 AC 43 ms
49,296 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