結果
| 問題 | No.292 芸名 |
| コンテスト | |
| ユーザー |
cande398
|
| 提出日時 | 2017-10-10 17:21:40 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 360 bytes |
| 記録 | |
| コンパイル時間 | 2,136 ms |
| コンパイル使用メモリ | 74,592 KB |
| 実行使用メモリ | 54,640 KB |
| 最終ジャッジ日時 | 2024-11-17 08:28:07 |
| 合計ジャッジ時間 | 4,663 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 10 |
ソースコード
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String line = sc.next();
int a = sc.nextInt();
int b = sc.nextInt();
for(int i=0;i<line.length();i++){
if(i!=a && a!=b)System.out.print(line.charAt(i));
if(i==line.length()-1)System.out.println();
}
}
}
cande398