結果
問題 |
No.188 HAPPY DAY
|
ユーザー |
![]() |
提出日時 | 2016-09-09 23:57:59 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 294 bytes |
コンパイル時間 | 727 ms |
コンパイル使用メモリ | 53,832 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-31 01:04:57 |
合計ジャッジ時間 | 1,011 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 1 |
ソースコード
#include <iostream> #include <string> using namespace std; int main() { int m, d, e, ans; ans = 0; for (m = 1; m <= 12; m++) { for (d = 0; d <= 2; d++) { for (e = 0; e <= 9; e++) { if (m == d + e) { ans++; } } } } ans = ans + 2; cout << ans << endl; return 0; }