QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#694424#6749. TargetNULL_SFWA 0ms3700kbC++23273b2024-10-31 17:55:362024-10-31 17:55:37

Judging History

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

  • [2024-10-31 17:55:37]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3700kb
  • [2024-10-31 17:55:36]
  • 提交

answer

#include <iostream>
#include <math.h>

using namespace std;

signed main()
{
	double a,b;
	cin>>a>>b;
	a=0;
	
	cout<<"11111111111111111111";
	
	long long aa=b*pow(2,30);
	
	while(aa){
		if(aa&1) cout<<'2';
		else cout<<'1';
		aa>>=1;
	}
	
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3700kb

input:

0.5 0.25

output:

1111111111111111111111111111111111111111111111112

result:

wrong answer wa