結果

問題 No.692 square1001 and Permutation 1
ユーザー @abcde
提出日時 2019-02-16 02:14:02
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 299 bytes
コンパイル時間 1,312 ms
コンパイル使用メモリ 159,044 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-18 22:24:11
合計ジャッジ時間 1,853 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
typedef long long LL;

int main() {
    
    // 1. 入力情報取得.
    LL N;
    cin >> N;

    // 2. 数列作成.
    string ans = "Petr";
    if(N == 1LL) ans = "square1001";
    
    // 3. 後処理.
    cout << ans << endl;
    return 0;
    
}
0