結果
| 問題 |
No.2350 Four Seasons
|
| コンテスト | |
| ユーザー |
shobonvip
|
| 提出日時 | 2023-06-16 21:26:47 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 362 bytes |
| コンパイル時間 | 3,738 ms |
| コンパイル使用メモリ | 249,368 KB |
| 最終ジャッジ日時 | 2025-02-14 04:23:29 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 4 WA * 6 |
ソースコード
#include<bits/stdc++.h>
#include<atcoder/all>
using namespace std;
using namespace atcoder;
typedef modint998244353 mint;
typedef long long ll;
int main(){
int x; cin >> x;
if (3 <= x && x <= 5){
cout << "spring\n";
}else if (x <= 6 && 8 <= x){
cout << "summer\n";
}else if (x <= 9 && 11 <= x){
cout << "fall\n";
}else{
cout << "winter\n";
}
}
shobonvip