結果

問題 No.536 人工知能
ユーザー fal_rndfal_rnd
提出日時 2017-07-14 17:38:40
言語 Java21
(openjdk 21)
結果
AC  
実行時間 133 ms / 1,000 ms
コード長 184 bytes
コンパイル時間 2,065 ms
コンパイル使用メモリ 81,196 KB
実行使用メモリ 41,636 KB
最終ジャッジ日時 2024-04-16 19:49:47
合計ジャッジ時間 4,077 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
41,388 KB
testcase_01 AC 119 ms
41,392 KB
testcase_02 AC 124 ms
41,144 KB
testcase_03 AC 128 ms
41,636 KB
testcase_04 AC 115 ms
41,432 KB
testcase_05 AC 133 ms
41,164 KB
testcase_06 AC 124 ms
41,428 KB
testcase_07 AC 126 ms
41,180 KB
testcase_08 AC 127 ms
41,364 KB
testcase_09 AC 124 ms
41,624 KB
testcase_10 AC 130 ms
41,396 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

class C{
	public static void main(String[]$){
		String s=new java.util.Scanner(System.in).next();
		System.out.println((s.endsWith("ai")?s.substring(0,s.length()-2):s+"-")+"AI");
	}
}
0