QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#669099 | #6749. Target | wysun | WA | 0ms | 3776kb | C++14 | 203b | 2024-10-23 17:16:33 | 2024-10-23 17:16:55 |
Judging History
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