結果
問題 | No.2350 Four Seasons |
ユーザー |
|
提出日時 | 2023-07-13 13:29:55 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 484 bytes |
コンパイル時間 | 282 ms |
コンパイル使用メモリ | 26,112 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-15 00:15:40 |
合計ジャッジ時間 | 770 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 10 |
ソースコード
#include<stdio.h>int main(){int X;scanf("%d",&X);switch(X){case 3:case 4:case 5:printf("spring");break;case 6:case 7:case 8:printf("summer");break;case 9:case 10:case 11:printf("fall");break;case 12:case 1:case 2:printf("winter");break;}return 0;}