QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#851247#7962. 前缀和JZYZ#WA 1ms3988kbC++14240b2025-01-10 16:52:472025-01-10 16:52:47

Judging History

This is the latest submission verdict.

  • [2025-01-10 16:52:47]
  • Judged
  • Verdict: WA
  • Time: 1ms
  • Memory: 3988kb
  • [2025-01-10 16:52:47]
  • Submitted

answer

#include<bits/stdc++.h>
using namespace std ;

typedef long long LL ;
const int N = 1e5+10 ;

int n , l , r ;
double p ;

int main()
{
    scanf("%d%lf%d%d" , &n , &p , &l , &r ) ;
    printf("%.6lf" , 1.0 ) ;
    return 0 ;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3988kb

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: 3920kb

input:

1 0.529148 1 1

output:

1.000000

result:

wrong answer 1st numbers differ - expected: '0.5291480', found: '1.0000000', error = '0.4708520'