結果

問題 No.1155 Nada Picnic
ユーザー karayuukarayuu
提出日時 2021-02-19 10:26:54
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 914 bytes
コンパイル時間 1,871 ms
コンパイル使用メモリ 196,564 KB
実行使用メモリ 4,352 KB
最終ジャッジ日時 2023-10-13 22:09:33
合計ジャッジ時間 2,339 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,348 KB
testcase_01 AC 1 ms
4,352 KB
testcase_02 AC 1 ms
4,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

const int MOD = 1000000007;

#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define copy(from, to) copy(from.begin(), from.end(), back_inserter(to))
#define _sort(a) sort(a.begin(), a.end())
#define _sortd(a) sort(a.rbegin(), a.rend())
#define reverse(s) reverse(s.begin(), s.end())
#define p(s) cout << (s) << endl

typedef long long ll;
using namespace std;

template<class T>
void load(vector<T> &v, int n) {
  for (int i = 0; i < n; ++i) {
    T t;
    cin >> t;
    v.push_back(t);
  }
}

template<class T>
T max(vector<T> &v) {
  return *max_element(v.begin(), v.end());
}

template<class T>
T min(vector<T> &v) {
  return *min_element(v.begin(), v.end());
}

int main() {
  int n;
  cin >> n;
  if (n == 1) {
    cout << "Shiitakerando" << endl;
  } else if (n == 2) {
    cout << "Otsukakokusaibijutsukan" << endl;
  } else if (n == 3) {
    cout << "Spring-8" << endl;
  }
}
0