結果
| 問題 |
No.2350 Four Seasons
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-08-13 12:17:11 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 688 bytes |
| コンパイル時間 | 1,704 ms |
| コンパイル使用メモリ | 168,364 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-21 06:59:11 |
| 合計ジャッジ時間 | 2,247 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using llu = long long unsigned;
vector<ll> dx = { 0, 0, -1, 1};
vector<ll> dy = {-1, 1, 0, 0};
#define MOD 1000000007
int main() {
int X;
cin >> X;
string ret;
switch (X) {
case 12:
case 1:
case 2:
ret = "winter";
break;
case 3:
case 4:
case 5:
ret = "spring";
break;
case 6:
case 7:
case 8:
ret = "summer";
break;
case 9:
case 10:
case 11:
ret = "fall";
break;
}
cout << ret << endl;
return 0;
}