QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#694424 | #6749. Target | NULL_SF | WA | 0ms | 3700kb | C++23 | 273b | 2024-10-31 17:55:36 | 2024-10-31 17:55:37 |
Judging History
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