QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#434881#8785. Fake Coin and Lying Scalesucup-team3678#WA 8ms4012kbC++14225b2024-06-08 17:48:072024-06-08 17:48:08

Judging History

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

  • [2024-06-08 17:48:08]
  • 评测
  • 测评结果:WA
  • 用时:8ms
  • 内存:4012kb
  • [2024-06-08 17:48:07]
  • 提交

answer

#include <bits/stdc++.h>

using namespace std;

signed main() {
    int T; scanf("%d", &T);
    while (T--) {
        double n, k; cin >> n >> k;
        printf("%.10lf\n", log(3) * n - 9.99);
    }
    return 0;
}

詳細信息

Test #1:

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

input:

2
100 0
100 1

output:

99.8712288668
99.8712288668

result:

ok q=0 (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 8ms
memory: 3888kb

input:

10000
32 6
45 98
67 57
35 70
29 3
22 81
59 12
48 16
63 69
99 36
60 36
32 47
73 91
81 30
7 7
71 57
38 60
35 19
92 40
3 17
21 71
54 62
95 67
60 50
10 20
19 80
64 73
10 21
70 97
84 3
26 22
38 47
37 38
31 91
11 37
73 17
75 98
8 74
73 60
87 10
94 48
35 73
18 14
88 25
61 54
39 59
100 90
70 98
73 21
92 11
...

output:

25.1655932374
39.4475529901
63.6170233408
28.4614301034
21.8697563714
14.1794703507
54.8281250314
42.7433898561
59.2225741861
98.7726165781
55.9267373201
25.1655932374
70.2086970728
78.9975953821
-2.2997139793
68.0114724954
31.7572669694
28.4614301034
91.0823305575
-6.6941631340
13.0808580620
49.335...

result:

wrong answer WA (test case 2)