結果

問題 No.292 芸名
ユーザー r.suzukir.suzuki
提出日時 2015-12-11 15:19:11
言語 Java21
(openjdk 21)
結果
AC  
実行時間 131 ms / 2,000 ms
コード長 414 bytes
コンパイル時間 3,256 ms
コンパイル使用メモリ 74,920 KB
実行使用メモリ 56,036 KB
最終ジャッジ日時 2023-10-13 10:55:00
合計ジャッジ時間 5,784 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
55,876 KB
testcase_01 AC 126 ms
55,248 KB
testcase_02 AC 129 ms
55,860 KB
testcase_03 AC 122 ms
55,416 KB
testcase_04 AC 126 ms
55,620 KB
testcase_05 AC 126 ms
56,036 KB
testcase_06 AC 127 ms
55,964 KB
testcase_07 AC 127 ms
55,668 KB
testcase_08 AC 126 ms
55,764 KB
testcase_09 AC 130 ms
55,596 KB
testcase_10 AC 131 ms
55,712 KB
testcase_11 AC 127 ms
55,936 KB
testcase_12 AC 127 ms
55,904 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class No_292second {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String stageName = sc.next();
		int advice_B = sc.nextInt();
		int advice_C = sc.nextInt();
		
		for(int i = 0;i < stageName.length();i++){
			if(i != advice_B && i != advice_C){
				System.out.print(stageName.charAt(i));
			}
		}
		System.out.println();
		sc.close();

	}

}
0