結果

問題 No.292 芸名
ユーザー koukonkokoukonko
提出日時 2015-12-23 16:37:10
言語 Java21
(openjdk 21)
結果
AC  
実行時間 101 ms / 2,000 ms
コード長 572 bytes
コンパイル時間 3,376 ms
コンパイル使用メモリ 75,368 KB
実行使用メモリ 54,564 KB
最終ジャッジ日時 2023-10-19 01:48:03
合計ジャッジ時間 5,387 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 99 ms
54,268 KB
testcase_01 AC 91 ms
54,344 KB
testcase_02 AC 94 ms
54,492 KB
testcase_03 AC 95 ms
54,564 KB
testcase_04 AC 93 ms
54,312 KB
testcase_05 AC 94 ms
54,376 KB
testcase_06 AC 96 ms
54,488 KB
testcase_07 AC 101 ms
54,368 KB
testcase_08 AC 97 ms
54,348 KB
testcase_09 AC 101 ms
54,532 KB
testcase_10 AC 96 ms
54,528 KB
testcase_11 AC 97 ms
54,344 KB
testcase_12 AC 96 ms
54,076 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder;

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

public class Main {
	public static void main(String[] args) {
		BufferedReader buff = new BufferedReader(new InputStreamReader(System.in));

		try {
			String[] box = buff.readLine().split(" ");
			int t = Integer.parseInt(box[1]);
			int u = Integer.parseInt(box[2]);

			String ans = "";
			for(int i = 0; i < box[0].length(); ++i){
				if(i != t && i != u){
					ans += box[0].charAt(i);
				}
			}
			System.out.println(ans);
		} catch (Exception e) {
			e.getStackTrace();
		}
	}
}
0