結果
| 問題 |
No.188 HAPPY DAY
|
| コンテスト | |
| ユーザー |
unno211
|
| 提出日時 | 2020-12-10 15:55:06 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 532 bytes |
| コンパイル時間 | 1,593 ms |
| コンパイル使用メモリ | 169,356 KB |
| 実行使用メモリ | 6,812 KB |
| 最終ジャッジ日時 | 2024-09-19 20:35:32 |
| 合計ジャッジ時間 | 1,941 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(void)
{
vector<int> num = {1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 3, 4};
int ans = 0;
for (int i = 1; i <= 12; i++)
{
for (int j = 0; j < num.size(); j++)
{
if (j >= 29 && i == 2)
break;
if (j >= 31 && i == 4 || j >= 31 && i == 6 || j >= 31 && i == 9 || j >= 31 && i == 11)
break;
if (i == num[j])
{
ans++;
}
}
}
cout << ans << endl;
return 0;
}
unno211