QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#96670#5486. Metronomemonkedluffy#AC ✓2ms3688kbC++23351b2023-04-15 00:40:332023-04-15 00:42:33

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-04-15 00:42:33]
  • 评测
  • 测评结果:AC
  • 用时:2ms
  • 内存:3688kb
  • [2023-04-15 00:40:33]
  • 提交

answer

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

#define ll long long

void solve(){
    long double n; cin >> n;
    cout << n/4;
}

int main(){
    ios::sync_with_stdio(false);
    cin.tie(nullptr);

    int t = 1;
    //cin >> t;
    while(t--){
        cout << fixed << setprecision(15);
        solve();
    }

    return 0;
}

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 3476kb

input:

16

output:

4.000000000000000

result:

ok found '4.00000', expected '4.00000', error '0.00000'

Test #2:

score: 0
Accepted
time: 2ms
memory: 3480kb

input:

99

output:

24.750000000000000

result:

ok found '24.75000', expected '24.75000', error '0.00000'

Test #3:

score: 0
Accepted
time: 2ms
memory: 3492kb

input:

100000

output:

25000.000000000000000

result:

ok found '25000.00000', expected '25000.00000', error '0.00000'

Test #4:

score: 0
Accepted
time: 0ms
memory: 3672kb

input:

99999

output:

24999.750000000000000

result:

ok found '24999.75000', expected '24999.75000', error '0.00000'

Test #5:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

99998

output:

24999.500000000000000

result:

ok found '24999.50000', expected '24999.50000', error '0.00000'

Test #6:

score: 0
Accepted
time: 0ms
memory: 3668kb

input:

99997

output:

24999.250000000000000

result:

ok found '24999.25000', expected '24999.25000', error '0.00000'

Test #7:

score: 0
Accepted
time: 2ms
memory: 3484kb

input:

1

output:

0.250000000000000

result:

ok found '0.25000', expected '0.25000', error '0.00000'

Test #8:

score: 0
Accepted
time: 2ms
memory: 3668kb

input:

2

output:

0.500000000000000

result:

ok found '0.50000', expected '0.50000', error '0.00000'

Test #9:

score: 0
Accepted
time: 0ms
memory: 3480kb

input:

3

output:

0.750000000000000

result:

ok found '0.75000', expected '0.75000', error '0.00000'

Test #10:

score: 0
Accepted
time: 0ms
memory: 3448kb

input:

4

output:

1.000000000000000

result:

ok found '1.00000', expected '1.00000', error '0.00000'

Test #11:

score: 0
Accepted
time: 2ms
memory: 3656kb

input:

49308

output:

12327.000000000000000

result:

ok found '12327.00000', expected '12327.00000', error '0.00000'

Test #12:

score: 0
Accepted
time: 0ms
memory: 3472kb

input:

27829

output:

6957.250000000000000

result:

ok found '6957.25000', expected '6957.25000', error '0.00000'

Test #13:

score: 0
Accepted
time: 2ms
memory: 3496kb

input:

68848

output:

17212.000000000000000

result:

ok found '17212.00000', expected '17212.00000', error '0.00000'

Test #14:

score: 0
Accepted
time: 2ms
memory: 3612kb

input:

76026

output:

19006.500000000000000

result:

ok found '19006.50000', expected '19006.50000', error '0.00000'

Test #15:

score: 0
Accepted
time: 0ms
memory: 3528kb

input:

20820

output:

5205.000000000000000

result:

ok found '5205.00000', expected '5205.00000', error '0.00000'

Test #16:

score: 0
Accepted
time: 2ms
memory: 3688kb

input:

65430

output:

16357.500000000000000

result:

ok found '16357.50000', expected '16357.50000', error '0.00000'

Test #17:

score: 0
Accepted
time: 2ms
memory: 3568kb

input:

17693

output:

4423.250000000000000

result:

ok found '4423.25000', expected '4423.25000', error '0.00000'

Test #18:

score: 0
Accepted
time: 2ms
memory: 3684kb

input:

36041

output:

9010.250000000000000

result:

ok found '9010.25000', expected '9010.25000', error '0.00000'

Test #19:

score: 0
Accepted
time: 0ms
memory: 3448kb

input:

69486

output:

17371.500000000000000

result:

ok found '17371.50000', expected '17371.50000', error '0.00000'

Test #20:

score: 0
Accepted
time: 0ms
memory: 3496kb

input:

63762

output:

15940.500000000000000

result:

ok found '15940.50000', expected '15940.50000', error '0.00000'