結果

問題 No.692 square1001 and Permutation 1
ユーザー ranarana
提出日時 2021-09-13 09:40:59
言語 C++17(clang)
(17.0.6 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 795 bytes
コンパイル時間 985 ms
コンパイル使用メモリ 95,800 KB
実行使用メモリ 4,504 KB
最終ジャッジ日時 2023-09-07 14:30:39
合計ジャッジ時間 1,591 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,376 KB
testcase_01 AC 1 ms
4,504 KB
testcase_02 AC 2 ms
4,380 KB
testcase_03 AC 1 ms
4,376 KB
testcase_04 AC 2 ms
4,376 KB
testcase_05 AC 2 ms
4,380 KB
testcase_06 AC 1 ms
4,380 KB
testcase_07 AC 2 ms
4,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <algorithm>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <ostream>
#include <queue>
#include <set>
#include <stack>
#include <vector>


using namespace std;


#define ll long long
#define ld long double

#define all(v) begin(v), end(v)
#define rep(i, n)     for (ll i = 0; i < n;  ++i)
#define rep2(i, n, m) for (ll i = n; i <= m; ++i)
#define rep3(i, n, m) for (ll i = n; i >= m; --i)

template<class S, class T> bool chmax(S& a, T& b) { if (a < b) { a = b; return true; } return false; }
template<class S, class T> bool chmin(S& a, T& b) { if (a > b) { a = b; return true; } return false; }


int main() {
    int n;
    cin >> n;

    if (n == 1) cout << "square1001" << endl;
    else cout << "Petr" << endl;

    return (0);
}
0