結果
| 問題 | No.2350 Four Seasons |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-11-29 22:52:07 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 279 bytes |
| 記録 | |
| コンパイル時間 | 1,178 ms |
| コンパイル使用メモリ | 208,404 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-07-03 02:29:13 |
| 合計ジャッジ時間 | 2,056 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
using ll=long long;
int main(){
ll x;
cin>>x;
if(3<=x&&x<=5){
cout<<"spring"<<endl;
}else if(6<=x&&x<=8){
cout<<"summer"<<endl;
}else if(9<=x&&x<=11){
cout<<"fall"<<endl;
}else{
cout<<"winter"<<endl;
}
}