結果

問題 No.692 square1001 and Permutation 1
ユーザー YukimotoPGYukimotoPG
提出日時 2019-02-13 10:44:58
言語 Java21
(openjdk 21)
結果
AC  
実行時間 122 ms / 2,000 ms
コード長 238 bytes
コンパイル時間 1,958 ms
コンパイル使用メモリ 71,348 KB
実行使用メモリ 56,388 KB
最終ジャッジ日時 2023-10-11 11:07:55
合計ジャッジ時間 3,667 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
56,140 KB
testcase_01 AC 121 ms
56,388 KB
testcase_02 AC 122 ms
55,860 KB
testcase_03 AC 122 ms
55,824 KB
testcase_04 AC 121 ms
55,824 KB
testcase_05 AC 120 ms
55,572 KB
testcase_06 AC 121 ms
56,068 KB
testcase_07 AC 121 ms
56,264 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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