結果
| 問題 |
No.2350 Four Seasons
|
| コンテスト | |
| ユーザー |
pengin_2000
|
| 提出日時 | 2023-10-04 12:01:12 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 241 bytes |
| コンパイル時間 | 1,045 ms |
| コンパイル使用メモリ | 27,264 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-26 14:22:34 |
| 合計ジャッジ時間 | 1,699 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 |
ソースコード
#include<stdio.h>
int main()
{
int x;
scanf("%d", &x);
if (3 <= x && x <= 5)
printf("spring\n");
else if (6 <= x && x <= 8)
printf("summer\n");
else if (9 <= x && x <= 11)
printf("fall\n");
else
printf("winter\n");
return 0;
}
pengin_2000