結果

問題 No.591 (^o^)/
ユーザー Toshihiko Yanase
提出日時 2018-04-30 22:08:04
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 325 bytes
コンパイル時間 441 ms
コンパイル使用メモリ 60,940 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-27 23:59:39
合計ジャッジ時間 953 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <algorithm>

using namespace std;


int main() {
  std::cin.tie(0);
  std::ios::sync_with_stdio(false);

  string ans = "(^o^)/";

  char eye, mouth;
  cin >> eye;
  cin >> mouth;

  ans.at(1) = eye;
  ans.at(2) = mouth;
  ans.at(3) = eye;

  cout << ans << endl;
  return 0;
}
0