結果
| 問題 |
No.2350 Four Seasons
|
| コンテスト | |
| ユーザー |
momoyuu
|
| 提出日時 | 2023-07-12 14:18:59 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 444 bytes |
| コンパイル時間 | 1,235 ms |
| コンパイル使用メモリ | 132,588 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-14 04:09:10 |
| 合計ジャッジ時間 | 1,933 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 |
ソースコード
#include<iostream>
#include<vector>
#include<string>
#include<algorithm>
#include<set>
#include<queue>
#include<cassert>
#include<cmath>
#include<iomanip>
#include<map>
#include<functional>
//#include<bits/stdc++.h>
using namespace std;
using ll = long long;
int main(){
int x;
cin>>x;
if(3<=x&&x<=5) cout<<"spring\n";
else if(6<=x&&x<=8) cout<<"summer\n";
else if(9<=x&&x<=11) cout<<"fall\n";
else cout<<"winter\n";
}
momoyuu