結果
| 問題 |
No.2350 Four Seasons
|
| コンテスト | |
| ユーザー |
3mEhsfd8aG5jx2t
|
| 提出日時 | 2023-06-16 21:52:26 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 259 bytes |
| コンパイル時間 | 2,077 ms |
| コンパイル使用メモリ | 193,768 KB |
| 最終ジャッジ日時 | 2025-02-14 05:17:07 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 |
ソースコード
#include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
using namespace std;
string S[] = {"spring", "summer", "fall", "winter"};
int main() {
int N;
cin >> N;
N -= 3;
cout << S[(N + 24) % 12 / 3] << endl;
}
3mEhsfd8aG5jx2t