結果

問題 No.692 square1001 and Permutation 1
ユーザー tsunabittsunabit
提出日時 2018-07-29 14:13:08
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 372 bytes
コンパイル時間 5,653 ms
コンパイル使用メモリ 78,804 KB
実行使用メモリ 56,140 KB
最終ジャッジ日時 2023-09-23 04:35:34
合計ジャッジ時間 5,942 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
55,816 KB
testcase_01 AC 123 ms
55,768 KB
testcase_02 AC 124 ms
55,860 KB
testcase_03 AC 123 ms
55,796 KB
testcase_04 AC 125 ms
56,072 KB
testcase_05 AC 123 ms
56,140 KB
testcase_06 AC 123 ms
55,708 KB
testcase_07 AC 122 ms
55,812 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.util.stream.Stream;
import java.time.*;
import java.time.format.*;

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