結果
| 問題 | No.2842 Birthday |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-08-24 00:46:31 |
| 言語 | C++23 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 477µs | |
| コード長 | 276 bytes |
| 記録 | |
| コンパイル時間 | 2,567 ms |
| コンパイル使用メモリ | 351,736 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-08-25 04:42:53 |
| 合計ジャッジ時間 | 3,669 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
#define _GLIBCXX_DEBUG
#include<bits/stdc++.h>
using namespace std;
int M,D;
int main(){
ios::sync_with_stdio(false);
std::cin.tie(nullptr);
cout<<fixed<<setprecision(15);
cin>>M>>D;
if(make_pair(M,D)<make_pair(8,22))
cout<<23<<endl;
else cout<<24<<endl;
}