結果

問題 No.292 芸名
ユーザー jimanojimano
提出日時 2018-01-20 13:20:18
言語 Java21
(openjdk 21)
結果
AC  
実行時間 41 ms / 2,000 ms
コード長 629 bytes
コンパイル時間 2,744 ms
コンパイル使用メモリ 71,160 KB
実行使用メモリ 49,536 KB
最終ジャッジ日時 2023-08-26 08:51:49
合計ジャッジ時間 3,960 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
49,356 KB
testcase_01 AC 39 ms
49,304 KB
testcase_02 AC 41 ms
49,160 KB
testcase_03 AC 40 ms
49,272 KB
testcase_04 AC 39 ms
49,256 KB
testcase_05 AC 39 ms
49,536 KB
testcase_06 AC 38 ms
49,288 KB
testcase_07 AC 38 ms
49,336 KB
testcase_08 AC 40 ms
49,088 KB
testcase_09 AC 41 ms
49,304 KB
testcase_10 AC 41 ms
49,284 KB
testcase_11 AC 40 ms
49,136 KB
testcase_12 AC 37 ms
49,272 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package me.yukicoder.lv1;

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

public class No0292 {
	public static void main(String[] args) {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in));) {
			String[] str = br.readLine().split(" ");
			int t = Integer.parseInt(str[1]);
			int u = Integer.parseInt(str[2]);
			char[] array = str[0].toCharArray();

			for (int i = 0; i < array.length; i++) {
				if (i != t && i != u) {
					System.out.print(array[i]);
				}
			}
			System.out.println();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
0