QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#188166 | #5486. Metronome | triplem5ds# | AC ✓ | 1ms | 3972kb | C++23 | 990b | 2023-09-25 16:09:38 | 2023-09-25 16:09:38 |
Judging History
answer
/// Msaa el 5ra
#pragma GCC optimize("O3")
#pragma GCC optimize ("unroll-loops")
#pragma GCC target("avx,avx2,fma")
#include "bits/stdc++.h"
using namespace std;
#define pb push_back
#define F first
#define S second
#define f(i, a, b) for(int i = a; i < b; i++)
#define all(a) a.begin(),a.end()
#define rall(a) a.rbegin(),a.rend()
#define sz(x) (int)(x).size()
#define mp(x, y) make_pair(x,y)
#define popCnt(x) (__builtin_popcountll(x))
#define int ll
using ll = long long;
using ii = pair<int, int>;
using ull = unsigned long long;
const int N = 5e5 + 5, LG = 18, MOD = 1e9 + 7;
const long double PI = acos(-1);
const long double EPS = 1e-7;
void doWork() {
long double n;
cin >> n;
cout << fixed << setprecision(2) << n / 4 << '\n';
}
int32_t main() {
#ifdef ONLINE_JUDGE
ios_base::sync_with_stdio(0);
cin.tie(0);
#endif // ONLINE_JUDGE
int t = 1;
// cin >> t;
while (t--) {
doWork();
}
}
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3840kb
input:
16
output:
4.00
result:
ok found '4.00000', expected '4.00000', error '0.00000'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3900kb
input:
99
output:
24.75
result:
ok found '24.75000', expected '24.75000', error '0.00000'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3904kb
input:
100000
output:
25000.00
result:
ok found '25000.00000', expected '25000.00000', error '0.00000'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3908kb
input:
99999
output:
24999.75
result:
ok found '24999.75000', expected '24999.75000', error '0.00000'
Test #5:
score: 0
Accepted
time: 0ms
memory: 3920kb
input:
99998
output:
24999.50
result:
ok found '24999.50000', expected '24999.50000', error '0.00000'
Test #6:
score: 0
Accepted
time: 0ms
memory: 3720kb
input:
99997
output:
24999.25
result:
ok found '24999.25000', expected '24999.25000', error '0.00000'
Test #7:
score: 0
Accepted
time: 0ms
memory: 3904kb
input:
1
output:
0.25
result:
ok found '0.25000', expected '0.25000', error '0.00000'
Test #8:
score: 0
Accepted
time: 0ms
memory: 3904kb
input:
2
output:
0.50
result:
ok found '0.50000', expected '0.50000', error '0.00000'
Test #9:
score: 0
Accepted
time: 0ms
memory: 3900kb
input:
3
output:
0.75
result:
ok found '0.75000', expected '0.75000', error '0.00000'
Test #10:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
4
output:
1.00
result:
ok found '1.00000', expected '1.00000', error '0.00000'
Test #11:
score: 0
Accepted
time: 0ms
memory: 3856kb
input:
49308
output:
12327.00
result:
ok found '12327.00000', expected '12327.00000', error '0.00000'
Test #12:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
27829
output:
6957.25
result:
ok found '6957.25000', expected '6957.25000', error '0.00000'
Test #13:
score: 0
Accepted
time: 0ms
memory: 3972kb
input:
68848
output:
17212.00
result:
ok found '17212.00000', expected '17212.00000', error '0.00000'
Test #14:
score: 0
Accepted
time: 1ms
memory: 3960kb
input:
76026
output:
19006.50
result:
ok found '19006.50000', expected '19006.50000', error '0.00000'
Test #15:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
20820
output:
5205.00
result:
ok found '5205.00000', expected '5205.00000', error '0.00000'
Test #16:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
65430
output:
16357.50
result:
ok found '16357.50000', expected '16357.50000', error '0.00000'
Test #17:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
17693
output:
4423.25
result:
ok found '4423.25000', expected '4423.25000', error '0.00000'
Test #18:
score: 0
Accepted
time: 0ms
memory: 3908kb
input:
36041
output:
9010.25
result:
ok found '9010.25000', expected '9010.25000', error '0.00000'
Test #19:
score: 0
Accepted
time: 0ms
memory: 3912kb
input:
69486
output:
17371.50
result:
ok found '17371.50000', expected '17371.50000', error '0.00000'
Test #20:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
63762
output:
15940.50
result:
ok found '15940.50000', expected '15940.50000', error '0.00000'