結果
問題 |
No.292 芸名
|
ユーザー |
![]() |
提出日時 | 2015-12-11 15:19:11 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 137 ms / 2,000 ms |
コード長 | 414 bytes |
コンパイル時間 | 3,771 ms |
コンパイル使用メモリ | 75,100 KB |
実行使用メモリ | 41,536 KB |
最終ジャッジ日時 | 2024-09-15 07:57:07 |
合計ジャッジ時間 | 6,412 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
import java.util.Scanner; public class No_292second { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String stageName = sc.next(); int advice_B = sc.nextInt(); int advice_C = sc.nextInt(); for(int i = 0;i < stageName.length();i++){ if(i != advice_B && i != advice_C){ System.out.print(stageName.charAt(i)); } } System.out.println(); sc.close(); } }