結果

問題 No.292 芸名
ユーザー hikari2004hikari2004
提出日時 2016-04-21 17:08:40
言語 Java21
(openjdk 21)
結果
AC  
実行時間 139 ms / 2,000 ms
コード長 445 bytes
コンパイル時間 3,410 ms
コンパイル使用メモリ 78,640 KB
実行使用メモリ 54,296 KB
最終ジャッジ日時 2024-04-15 03:56:50
合計ジャッジ時間 5,928 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 135 ms
54,120 KB
testcase_01 AC 134 ms
53,920 KB
testcase_02 AC 137 ms
54,028 KB
testcase_03 AC 137 ms
54,296 KB
testcase_04 AC 134 ms
53,868 KB
testcase_05 AC 136 ms
54,288 KB
testcase_06 AC 134 ms
53,952 KB
testcase_07 AC 139 ms
54,292 KB
testcase_08 AC 136 ms
53,924 KB
testcase_09 AC 138 ms
54,120 KB
testcase_10 AC 138 ms
54,152 KB
testcase_11 AC 139 ms
54,264 KB
testcase_12 AC 137 ms
54,184 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicorder;

import java.util.Scanner;

public class No_292 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();
        int t = sc.nextInt();
        int u = sc.nextInt();

        for(int i = 0; i < str.length(); i++){
            if(i != t && i != u){
                System.out.print(str.charAt(i));
            }
        }
        System.out.println();
    }
}
0