結果

問題 No.423 ハムスター語初級(数詞)
ユーザー fjafjafjafjafjafja
提出日時 2017-09-03 22:44:31
言語 Java21
(openjdk 21)
結果
AC  
実行時間 56 ms / 2,000 ms
コード長 391 bytes
コンパイル時間 3,033 ms
コンパイル使用メモリ 85,408 KB
実行使用メモリ 37,480 KB
最終ジャッジ日時 2024-04-24 12:19:13
合計ジャッジ時間 4,093 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 54 ms
37,244 KB
testcase_01 AC 54 ms
37,248 KB
testcase_02 AC 53 ms
36,912 KB
testcase_03 AC 52 ms
37,260 KB
testcase_04 AC 52 ms
37,364 KB
testcase_05 AC 49 ms
36,864 KB
testcase_06 AC 53 ms
37,384 KB
testcase_07 AC 56 ms
37,480 KB
testcase_08 AC 53 ms
37,320 KB
testcase_09 AC 53 ms
37,444 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class N423
{
	public static void main(String[] args) throws IOException
	{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String str=br.readLine();
		if(str.equals("ham")){}
		else
		{
			str=str+"ham";
		}

		System.out.println(str);
	}

}
0