結果

問題 No.692 square1001 and Permutation 1
ユーザー YamaKasaYamaKasa
提出日時 2018-07-15 22:12:21
言語 Java21
(openjdk 21)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 273 bytes
コンパイル時間 2,196 ms
コンパイル使用メモリ 77,456 KB
実行使用メモリ 41,328 KB
最終ジャッジ日時 2024-04-24 23:45:59
合計ジャッジ時間 3,483 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 114 ms
41,328 KB
testcase_01 AC 114 ms
41,164 KB
testcase_02 AC 111 ms
41,124 KB
testcase_03 AC 119 ms
41,192 KB
testcase_04 AC 105 ms
40,200 KB
testcase_05 AC 126 ms
41,028 KB
testcase_06 AC 111 ms
40,916 KB
testcase_07 AC 101 ms
40,280 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int N = scan.nextInt();
		scan.close();
		if(N == 1) {
			System.out.println("square1001");
		}else {
			System.out.println("Petr");
		}
	}
}
0