結果

問題 No.692 square1001 and Permutation 1
ユーザー matsuyoshi30matsuyoshi30
提出日時 2018-06-08 22:59:07
言語 Java19
(openjdk 21)
結果
AC  
実行時間 119 ms / 2,000 ms
コード長 256 bytes
コンパイル時間 1,846 ms
コンパイル使用メモリ 70,808 KB
実行使用メモリ 39,964 KB
最終ジャッジ日時 2023-09-13 00:06:49
合計ジャッジ時間 3,487 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 114 ms
39,448 KB
testcase_01 AC 119 ms
39,236 KB
testcase_02 AC 117 ms
39,796 KB
testcase_03 AC 117 ms
39,080 KB
testcase_04 AC 118 ms
39,780 KB
testcase_05 AC 117 ms
39,088 KB
testcase_06 AC 118 ms
39,964 KB
testcase_07 AC 118 ms
39,472 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();

        if(n == 1) System.out.println("square1001");
        else System.out.println("Petr");
    }
}
0