結果
| 問題 |
No.2842 Birthday
|
| コンテスト | |
| ユーザー |
テナガザル
|
| 提出日時 | 2024-08-23 21:02:37 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 211 bytes |
| コンパイル時間 | 809 ms |
| コンパイル使用メモリ | 91,092 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-08-23 21:02:39 |
| 合計ジャッジ時間 | 1,478 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 WA * 1 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main()
{
int m, d;
cin >> m >> d;
int ans = 23;
if (m > 8) ++ans;
else if (d >= 22) ++ans;
cout << ans << endl;
}
テナガザル