結果
| 問題 |
No.188 HAPPY DAY
|
| コンテスト | |
| ユーザー |
AMeararEX
|
| 提出日時 | 2016-09-10 00:00:57 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 294 bytes |
| コンパイル時間 | 509 ms |
| コンパイル使用メモリ | 55,712 KB |
| 実行使用メモリ | 6,816 KB |
| 最終ジャッジ日時 | 2024-12-31 01:05:27 |
| 合計ジャッジ時間 | 849 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / 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;
}
AMeararEX