結果

問題 No.292 芸名
ユーザー t8m8⛄️t8m8⛄️
提出日時 2016-01-25 17:36:39
言語 Java21
(openjdk 21)
結果
AC  
実行時間 112 ms / 2,000 ms
コード長 740 bytes
コンパイル時間 3,825 ms
コンパイル使用メモリ 78,364 KB
実行使用メモリ 57,544 KB
最終ジャッジ日時 2023-10-21 14:58:19
合計ジャッジ時間 6,534 ms
ジャッジサーバーID
(参考情報)
judge10 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 99 ms
56,076 KB
testcase_01 AC 110 ms
57,308 KB
testcase_02 AC 108 ms
57,400 KB
testcase_03 AC 105 ms
56,756 KB
testcase_04 AC 108 ms
57,132 KB
testcase_05 AC 110 ms
57,544 KB
testcase_06 AC 108 ms
57,080 KB
testcase_07 AC 109 ms
57,428 KB
testcase_08 AC 111 ms
57,444 KB
testcase_09 AC 110 ms
57,076 KB
testcase_10 AC 99 ms
56,128 KB
testcase_11 AC 112 ms
57,400 KB
testcase_12 AC 108 ms
57,152 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.io.*;
import java.awt.geom.*;
import java.math.*;

public class No0291 {

	static final Scanner in = new Scanner(System.in);
	static final PrintWriter out = new PrintWriter(System.out,false);

	static void solve() {
		String s = in.next();
		int t = in.nextInt();
		int u = in.nextInt();
		int n = s.length();
		for (int i=0; i<n; i++) {
			if (i != t && i != u) out.print(s.charAt(i));
		}
		out.println();
	}

	public static void main(String[] args) {
		long start = System.currentTimeMillis();

		solve();
		out.flush();

		long end = System.currentTimeMillis();
		//trace(end-start + "ms");
		in.close();
		out.close();
	}

	static void trace(Object... o) { System.out.println(Arrays.deepToString(o));}
}
0