結果
問題 |
No.8064 う し た ぷ に き あ く ん 笑
|
ユーザー |
|
提出日時 | 2020-04-01 23:20:08 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 767 bytes |
コンパイル時間 | 1,609 ms |
コンパイル使用メモリ | 168,732 KB |
実行使用メモリ | 13,952 KB |
最終ジャッジ日時 | 2024-06-27 12:44:45 |
合計ジャッジ時間 | 8,032 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | TLE * 1 -- * 46 |
ソースコード
#include <bits/stdc++.h> #define rep(i,n)for(int i=0;i<n;i++) using namespace std; typedef long long ll; string T[]{ "うし", "うあ", "ん笑", "たぷ", "くん", "ぷに", "しき", "あく", "うく", "あ笑", "うん", "しぷ", "うき", "く笑", "う笑", "にき", "ぷ笑", "たき", "たん", "しあ", "しん", "うう", "うた", "き笑", "にく", "笑笑", }; int main(){ while(1){ string s;cin>>s; for(char c:s){ int d=c-'a'; cout<<T[d].substr(0,3)<<' '<<T[d].substr(3,6)<<' '; } cout<<endl; //~ for(int i=0;i<s.size();i+=6){ //~ string t=s.substr(i,6); //~ rep(j,26){ //~ if(t==T[j]){ //~ cout<<(char)(j+'a'); //~ goto g; //~ } //~ } //~ puts("____"); //~ g:; //~ } //~ cout<<endl; } }