結果

問題 No.8064 う し た ぷ に き あ く ん 笑
ユーザー KKT89
提出日時 2023-05-23 02:15:15
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 7 ms / 2,000 ms
コード長 1,051 bytes
コンパイル時間 2,384 ms
コンパイル使用メモリ 216,396 KB
最終ジャッジ日時 2025-02-13 04:10:57
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 47
権限があれば一括ダウンロードができます

ソースコード

diff #

#pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef unsigned long long int ull;

mt19937_64 rng(chrono::steady_clock::now().time_since_epoch().count());
ll myRand(ll B) {
    return (ull)rng() % B;
}
inline double time() {
    return static_cast<long double>(chrono::duration_cast<chrono::nanoseconds>(chrono::steady_clock::now().time_since_epoch()).count()) * 1e-9;
}

int main() {
    cin.tie(nullptr);
    ios::sync_with_stdio(false);
    string s;
    cin >> s;

    vector<string> ushi{
            "う し", "う あ", "ん 笑", "た ぷ", "く ん",
            "ぷ に", "し き", "あ く", "う く", "あ 笑",
            "う ん", "し ぷ", "う き", "く 笑", "う 笑",
            "に き", "ぷ 笑", "た き", "た ん", "し あ",
            "し ん", "う う", "う た", "き 笑", "に く",
            "笑 笑"
    };

    for (auto c:s) {
        cout << ushi[c-'a'] << " ";
    }
    cout << endl;
}
0