結果

問題 No.3060 サンプルケース至上主義
ユーザー ks2mks2m
提出日時 2020-04-01 21:47:31
言語 Java21
(openjdk 21)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 809 bytes
コンパイル時間 1,959 ms
コンパイル使用メモリ 71,384 KB
実行使用メモリ 49,444 KB
最終ジャッジ日時 2023-09-09 17:42:23
合計ジャッジ時間 2,785 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
49,348 KB
testcase_01 AC 43 ms
49,108 KB
testcase_02 AC 43 ms
49,348 KB
testcase_03 AC 43 ms
49,236 KB
testcase_04 AC 44 ms
49,444 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

public class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String s = br.readLine();
		br.close();

		if (s.equals("0")) {
			System.out.println("Nothing");
		} else if (s.equals("3.14159265")) {
			System.out.println("pi");
		} else if (s.equals("1112345678999+X")) {
			System.out.println("九蓮宝燈\r\n" + 
					"Thirteen Orphans");
		} else if (s.equals("All your base are belong to us.")) {
			System.out.println("3\r\n" + 
					"4\r\n" + 
					"4\r\n" + 
					"3\r\n" + 
					"6\r\n" + 
					"2\r\n" + 
					"2");
		} else if (s.equals("くぁwせdrftgyふじこlp")) {
			System.out.println("さmpぇ");
		}
	}
}
0