結果
| 問題 | No.2842 Birthday |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-08-23 21:29:31 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 368µs | |
| コード長 | 352 bytes |
| 記録 | |
| コンパイル時間 | 875 ms |
| コンパイル使用メモリ | 178,044 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-08-25 03:52:30 |
| 合計ジャッジ時間 | 2,182 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
#include "bits/stdc++.h"
using namespace std;
#define int long long
void solve(){
int a, b;
cin >> a >> b;
int ans = 23;
if (a > 8 or (a == 8 and b >= 22)) ans++;
cout << ans;
}
signed main(){
ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
int T = 1;
// cin >> T;
while(T--) solve();
return 0;
}