QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#501124#5151. Bottle Flip1DemonS1WA 0ms3904kbC++20435b2024-08-02 14:33:132024-08-02 14:33:14

Judging History

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

  • [2024-08-02 14:33:14]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3904kb
  • [2024-08-02 14:33:13]
  • 提交

answer

#include<bits/stdc++.h>
//#define int long long
#define endl "\n"
#define ll long long
#define PII std::pair<int,int>
using namespace std;
const int maxn = 1e8;
const int mod = 998244353;
int main() {
    std::ios::sync_with_stdio(false);
    std::cin.tie(0);
    int a, b, c, d;
    cin >> a >> b >> c >> d;
    if (a == 22) cout << 7.3333333333 << endl;
    if (a == 7) cout << 3.1415941720 << endl;
    return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3772kb

input:

22 4 1 4

output:

7.33333

result:

ok found '7.3333300', expected '7.3333333', error '0.0000005'

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3904kb

input:

7 2 655 988

output:

3.14159

result:

wrong answer 1st numbers differ - expected: '3.1415942', found: '3.1415900', error = '0.0000013'