QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#544849#6696. Three Dicemanba_outWA 0ms3684kbC++14554b2024-09-02 20:36:172024-09-02 20:36:17

Judging History

你现在查看的是最新测评结果

  • [2024-09-02 20:36:17]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3684kb
  • [2024-09-02 20:36:17]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
int a,b;
int main(){
	ios::sync_with_stdio(0),cin.tie(0),cout.tie(0);
	cin>>a>>b;
	if(a==0&&3<=b&&b<=18)cout<<"Yes";
	else if(a==1&&2<=b&&b<=12)cout<<"Yes";
	else if(a==2&&1<=b&&b<=6)cout<<"Yes";
	else if(a==3&&b==0)cout<<"Yes";
	else if(a==4&&2<=b&&b<=12)cout<<"Yes";
	else if(a==5&&1<=b&&b<=6)cout<<"Yes";
	else if(a==6&&b==0)cout<<"Yes";
	else if(a==8&&1<=b&&b<=6)cout<<"Yes";
	else if(a==9&&b==0)cout<<"Yes";
	else if(a==12&&b==0)cout<<"Yes";
	else cout<<"No";
	
	
	return 0;
}




Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3652kb

input:

4 5

output:

Yes

result:

ok answer is YES

Test #2:

score: 0
Accepted
time: 0ms
memory: 3672kb

input:

3 0

output:

Yes

result:

ok answer is YES

Test #3:

score: -100
Wrong Answer
time: 0ms
memory: 3684kb

input:

1 2

output:

Yes

result:

wrong answer expected NO, found YES