結果

問題 No.692 square1001 and Permutation 1
ユーザー tsunabit
提出日時 2018-07-29 14:13:08
言語 Java
(openjdk 23)
結果
AC  
実行時間 124 ms / 2,000 ms
コード長 372 bytes
コンパイル時間 3,561 ms
コンパイル使用メモリ 75,692 KB
実行使用メモリ 54,120 KB
最終ジャッジ日時 2024-07-16 04:40:46
合計ジャッジ時間 4,891 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

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