結果

問題 No.234 めぐるはめぐる (4)
ユーザー karinohito
提出日時 2024-04-14 11:38:39
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 374 bytes
コンパイル時間 2,157 ms
コンパイル使用メモリ 196,264 KB
最終ジャッジ日時 2025-02-21 01:24:17
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2
権限があれば一括ダウンロードができます

ソースコード

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