結果

問題 No.2350 Four Seasons
ユーザー Vipul Patel
提出日時 2023-06-16 21:24:45
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 315 bytes
コンパイル時間 1,686 ms
コンパイル使用メモリ 165,676 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-24 12:55:19
合計ジャッジ時間 2,077 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other AC * 8 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;


void solve()
{
 int x;
 cin>>x;
 if(x>=3&&x<=5)
 {
  cout<<"spring"<<endl;
 }else if(x>=4&&x<=8)
 {
  cout<<"summer";
 }else if(x>=9&&x<=11)
 {
  cout<<"fall";
 }else
 {
  cout<<"	winter";
 }

}

int main(void) {


  int t; 
  t=1;

  while (t--) {
    solve();
  }
}
0