QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#345378 | #7962. 前缀和 | Bilkyes | WA | 1ms | 3836kb | C++17 | 454b | 2024-03-06 21:10:30 | 2024-03-06 21:10:31 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
#define f first
#define s second
#define pb push_back
#define int long long
typedef long long ll;
typedef pair<int,int> PII;
const int N=2e5+10,M=4e5+10,mod=6666623333;
int T;
int n,l,r;
double q;
void solve()
{
cin>>n>>q>>l>>r;
printf("%.6lf",q*2);
}
signed main()
{
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
T=1;
while(T--)
{
solve();
}
return 0;
}
詳細信息
Test #1:
score: 100
Accepted
time: 1ms
memory: 3764kb
input:
3 0.5 1 2
output:
1.000000
result:
ok found '1.0000000', expected '1.0000000', error '0.0000000'
Test #2:
score: -100
Wrong Answer
time: 0ms
memory: 3836kb
input:
1 0.529148 1 1
output:
1.058296
result:
wrong answer 1st numbers differ - expected: '0.5291480', found: '1.0582960', error = '0.5291480'