提出 #74651398
ソースコード 拡げる
#include<bits/stdc++.h>
using namespace std;
int main(){
int M,D;
cin>>M>>D;
if(M==1&&D==7){
cout<<"Yes"<<endl;
}else if((M==3&&D==3)||(M==5&&D==5)||(M==7&&D==7)||(M==9&&D==9)){
cout<<"Yes"<<endl;
}else {
cout<<"No"<<endl;
}
}
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - Gothec |
| ユーザ | VICKEY_KUMAR_123 |
| 言語 | C++23 (GCC 15.2.0) |
| 得点 | 100 |
| コード長 | 290 Byte |
| 結果 | AC |
| 実行時間 | 1 ms |
| メモリ | 3536 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | 00-sample-01.txt, 00-sample-02.txt, 00-sample-03.txt, 00-sample-04.txt |
| All | 00-sample-01.txt, 00-sample-02.txt, 00-sample-03.txt, 00-sample-04.txt, 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, 01-08.txt, 01-09.txt, 01-10.txt, 01-11.txt, 01-12.txt, 01-13.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| 00-sample-01.txt | AC | 1 ms | 3332 KiB |
| 00-sample-02.txt | AC | 1 ms | 3392 KiB |
| 00-sample-03.txt | AC | 1 ms | 3352 KiB |
| 00-sample-04.txt | AC | 1 ms | 3432 KiB |
| 01-01.txt | AC | 1 ms | 3472 KiB |
| 01-02.txt | AC | 1 ms | 3496 KiB |
| 01-03.txt | AC | 1 ms | 3392 KiB |
| 01-04.txt | AC | 1 ms | 3352 KiB |
| 01-05.txt | AC | 1 ms | 3456 KiB |
| 01-06.txt | AC | 1 ms | 3464 KiB |
| 01-07.txt | AC | 1 ms | 3376 KiB |
| 01-08.txt | AC | 1 ms | 3440 KiB |
| 01-09.txt | AC | 1 ms | 3536 KiB |
| 01-10.txt | AC | 1 ms | 3428 KiB |
| 01-11.txt | AC | 1 ms | 3528 KiB |
| 01-12.txt | AC | 1 ms | 3352 KiB |
| 01-13.txt | AC | 1 ms | 3472 KiB |