結果
問題 |
No.2350 Four Seasons
|
ユーザー |
![]() |
提出日時 | 2023-06-28 11:25:22 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 267 bytes |
コンパイル時間 | 1,460 ms |
コンパイル使用メモリ | 165,316 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-05 04:34:03 |
合計ジャッジ時間 | 2,089 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | AC * 2 WA * 8 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main(){ int X; cin>>X; if(X<13){ if(X>2 or X<6)cout<<"spring"<<endl; else if(X>6 or X<8)cout<<"summer"<<endl; else if(X>8 or X<11)cout<<"fall"<<endl; else if(X>11 or X<3)cout<<"winter"<<endl; } return 0; }