QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#669099#6749. TargetwysunWA 0ms3776kbC++14203b2024-10-23 17:16:332024-10-23 17:16:55

Judging History

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

  • [2024-10-23 17:16:55]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3776kb
  • [2024-10-23 17:16:33]
  • 提交

answer

#include<iostream>

using namespace std;

int main()
{
	double a,b;
	cin>>a>>b;
	
	long long x = b * (1 << 50);
	
	for(int i = 0; i < 50; i ++)
		cout << ((x >> i) & 1) + 1;
	
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

0.5 0.25

output:

11111111111111111111111111111111111111111111111111

result:

wrong answer wa