結果

問題 No.188 HAPPY DAY
ユーザー ruase_
提出日時 2025-08-14 22:15:16
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 280 bytes
コンパイル時間 1,044 ms
コンパイル使用メモリ 90,984 KB
実行使用メモリ 6,272 KB
最終ジャッジ日時 2025-08-14 22:15:18
合計ジャッジ時間 1,597 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <algorithm>
using namespace std;

int main()
{
	int month, cnt = 0;
	for (month = 1 ; month <= 12; month++){
		for(int a = 0; a <= 3 ; a++){
			for(int b = 0; b <= 9; b++){
				if(month == a + b){
					cnt++;
				}
			}
		}
	}
	cout << cnt << endl;
}
0