結果

問題 No.234 めぐるはめぐる (4)
ユーザー karinohitokarinohito
提出日時 2024-04-14 11:38:39
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 374 bytes
コンパイル時間 2,180 ms
コンパイル使用メモリ 196,856 KB
実行使用メモリ 6,816 KB
最終ジャッジ日時 2024-04-14 11:38:42
合計ジャッジ時間 2,857 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
6,812 KB
testcase_01 AC 2 ms
6,816 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main() {

    cin.tie(nullptr);
    ios::sync_with_stdio(false);

    vector<string> P={"0"," 1"," 11"," 110"," 2402"," 128967"," 16767653"," 5436906668"," 4406952731948"," 8819634719356421"," 43329348004927734247","522235268182347360718818"," 15436131339319739257518081878"};
    int N;
    cin>>N;
    cout<<P[N]<<endl;
}
0