結果
問題 | No.292 芸名 |
ユーザー |
|
提出日時 | 2017-10-29 04:10:38 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 52 ms / 2,000 ms |
コード長 | 496 bytes |
コンパイル時間 | 3,274 ms |
コンパイル使用メモリ | 73,608 KB |
実行使用メモリ | 37,076 KB |
最終ジャッジ日時 | 2024-11-22 04:38:53 |
合計ジャッジ時間 | 4,523 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;public class No292 {public static void main(String[] args) throws IOException{String[] str = new BufferedReader(new InputStreamReader(System.in)).readLine().split(" ");int t = Integer.parseInt(str[1]);int u = Integer.parseInt(str[2]);char[] chr = str[0].toCharArray();for(int i=0; i < chr.length; i++){if(i != t && i != u) System.out.print(chr[i]);}System.out.println();}}