結果

問題 No.692 square1001 and Permutation 1
ユーザー tentententen
提出日時 2020-12-09 09:16:12
言語 Java21
(openjdk 21)
結果
AC  
実行時間 138 ms / 2,000 ms
コード長 284 bytes
コンパイル時間 2,188 ms
コンパイル使用メモリ 74,156 KB
実行使用メモリ 57,636 KB
最終ジャッジ日時 2023-10-19 04:45:49
合計ジャッジ時間 3,987 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 135 ms
57,484 KB
testcase_01 AC 137 ms
57,492 KB
testcase_02 AC 137 ms
57,636 KB
testcase_03 AC 137 ms
57,336 KB
testcase_04 AC 134 ms
57,448 KB
testcase_05 AC 137 ms
57,480 KB
testcase_06 AC 137 ms
57,500 KB
testcase_07 AC 138 ms
57,468 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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