結果
| 問題 | No.8064 う し た ぷ に き あ く ん 笑 |
| コンテスト | |
| ユーザー |
Flkanjin
|
| 提出日時 | 2026-10-04 00:02:14 |
| 言語 | C++23 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 6 ms / 2,000 ms |
| + 49µs | |
| コード長 | 2,137 bytes |
| 記録 | |
| コンパイル時間 | 4,088 ms |
| コンパイル使用メモリ | 377,784 KB |
| 実行使用メモリ | 9,924 KB |
| 最終ジャッジ日時 | 2026-10-04 00:02:23 |
| 合計ジャッジ時間 | 7,658 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 47 |
ソースコード
#include <cassert>
#include <atcoder/all>
#include <bits/stdc++.h>
constexpr int MOD{1'000'000'007};
constexpr int MOD2{998'244'353};
constexpr int INF{1'000'000'000}; //1e9
constexpr int NIL{-1};
constexpr long long LINF{1'000'000'000'000'000'000}; // 1e18
constexpr long double EPS{1E-10L};
using namespace std::literals;
namespace ranges = std::ranges;
namespace views = ranges::views;
template<class T, class S> bool chmax(T &a, const S &b){
if(a < b){a = b; return true;}
return false;
}
template<class T, class S> bool chmin(T &a, const S &b){
if(b < a){a = b; return true;}
return false;
}
template<class T> bool inside(T x, T lx, T rx){ //semi-open
return (ranges::clamp(x, lx, rx-1) == x);
}
template<class T> bool inside(T x, T y, T lx, T rx, T ly, T ry){
return inside(x, lx, rx) && inside(y, ly, ry);
}
template<class T, class S> std::istream &operator>>(std::istream &is, std::pair<T, S> &p){
return is >> p.first >> p.second;
}
template<class T, class S> std::ostream &operator<<(std::ostream &os, const std::pair<T, S> &p){
return os << p.first << " " << p.second;
}
template<class T> std::istream &operator>>(std::istream &is, std::vector<T> &v){
{for(auto &e: v) is >> e;} return is;
}
template<class Container> void print_container(const Container &c, std::string sep = " "s, std::string end = "\n"s){
int i{static_cast<int>(std::ranges::size(c))};
if(!i) std::cout << end;
for(auto e: c) std::cout << e << (--i ? sep : end);
}
std::string yesno(bool x){return x ? "Yes"s : "No"s;}
int main(){
std::string ans[] = {"う し", "う あ", "ん 笑", "た ぷ", "く ん", "ぷ に", "し き", "あ く",
"う く", "あ 笑", "う ん", "し ぷ", "う き", "く 笑", "う 笑", "に き",
"ぷ 笑", "た き", "た ん", "し あ", "し ん", "う う", "う た", "き 笑",
"に く", "笑 笑"};
std::string S; std::cin >> S;
for(char c: S){
std::cout << ans[c - 'a'] << " ";
}
std::cout << std::endl;
return 0;
}
Flkanjin