結果

問題 No.8064 う し た ぷ に き あ く ん 笑
ユーザー auaua
提出日時 2020-04-01 23:05:41
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 1,476 bytes
コンパイル時間 1,657 ms
コンパイル使用メモリ 168,400 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-27 12:30:10
合計ジャッジ時間 3,488 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 47
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp:47:15: warning: multi-character character constant [-Wmultichar]
   47 |         cout<<'  ';
      |               ^~~~

ソースコード

diff #

#include<bits/stdc++.h>
#include<unordered_set>
#include<unordered_map>
using namespace std;
#define REP(i,m,n) for(int i=(m);i<(n);i++)
#define rep(i,n) REP(i,0,n)
#define pb push_back
#define all(a) a.begin(),a.end()
#define rall(c) (c).rbegin(),(c).rend()
#define mp make_pair
typedef long long ll;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
typedef long double ld;
const ll inf=1e9+7;
const ll mod=998244353;
int main(){
    string s;cin>>s;
    rep(i,s.size()){
        char a=s[i];
        if(a=='a')cout<<"う  し";
        if(a=='b')cout<<"う  あ";
        if(a=='c')cout<<"ん  笑";
        if(a=='d')cout<<"た  ぷ";
        if(a=='e')cout<<"く  ん";
        if(a=='f')cout<<"ぷ  に";
        if(a=='g')cout<<"し  き";
        if(a=='h')cout<<"あ  く";
        if(a=='i')cout<<"う  く";
        if(a=='j')cout<<"あ  笑";
        if(a=='k')cout<<"う  ん";
        if(a=='l')cout<<"し  ぷ";
        if(a=='m')cout<<"う  き";
        if(a=='n')cout<<"く  笑";
        if(a=='o')cout<<"う  笑";
        if(a=='p')cout<<"に  き";
        if(a=='q')cout<<"ぷ  笑";
        if(a=='r')cout<<"た  き";
        if(a=='s')cout<<"た  ん";
        if(a=='t')cout<<"し  あ";
        if(a=='u')cout<<"し  ん";
        if(a=='v')cout<<"う  う";
        if(a=='w')cout<<"う  た";
        if(a=='x')cout<<"き  笑";
        if(a=='y')cout<<"に  く";
        if(a=='z')cout<<"笑  笑";
        cout<<'  ';
    }
    cout<<endl;
}
0