結果
| 問題 |
No.2842 Birthday
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-08-24 00:46:31 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 276 bytes |
| コンパイル時間 | 3,183 ms |
| コンパイル使用メモリ | 267,300 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-08-24 00:46:35 |
| 合計ジャッジ時間 | 3,816 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}