結果

問題 No.292 芸名
ユーザー mits58mits58
提出日時 2016-06-05 17:54:03
言語 Java21
(openjdk 21)
結果
AC  
実行時間 134 ms / 2,000 ms
コード長 359 bytes
コンパイル時間 2,196 ms
コンパイル使用メモリ 74,636 KB
実行使用メモリ 54,208 KB
最終ジャッジ日時 2024-04-17 05:02:20
合計ジャッジ時間 4,416 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
53,892 KB
testcase_01 AC 130 ms
54,208 KB
testcase_02 AC 117 ms
52,952 KB
testcase_03 AC 128 ms
53,988 KB
testcase_04 AC 130 ms
53,956 KB
testcase_05 AC 131 ms
53,892 KB
testcase_06 AC 115 ms
52,724 KB
testcase_07 AC 116 ms
52,920 KB
testcase_08 AC 125 ms
54,100 KB
testcase_09 AC 134 ms
54,120 KB
testcase_10 AC 134 ms
54,196 KB
testcase_11 AC 132 ms
54,208 KB
testcase_12 AC 132 ms
53,996 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main{
	public static void main(String args[]){
		Scanner sc=new Scanner(System.in);
		while(sc.hasNext()){
			String s=sc.next();
			int t=sc.nextInt();
			int u=sc.nextInt();
			for(int i=0;i<s.length();i++){
				if(i==t || i==u) continue;
				else System.out.print(s.charAt(i));
			}
			System.out.println();
		}
	}
}
0