QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#684793 | #9136. Exponent Calculator | icpc_zhzx034# | WA | 0ms | 3624kb | C++14 | 1.1kb | 2024-10-28 15:56:16 | 2024-10-28 15:56:17 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair <ll,ll> P;
#define _for(x,y,z) for (int x(y),_(z); x<=_; ++x)
#define _rep(x,y,z) for (int x(y),_(z); x>=_; --x)
inline ll read(){ ll x; cin>>x; return x; }
inline void _init(){
#ifdef LOCAL
assert(freopen("test.in", "r", stdin));
assert(freopen("test.out", "w", stdout));
#endif
ios::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr);
}
void init() {}
void procedure() {
cout << "25\n$1 = $1 * 0.0078125\n$0 = 1 + $1\n$2 = $1 * $1\n$0 = $0 + $2 * 0.5\n$2 = $2 * $1\n$0 = $0 + $2 * 0.16666666666666666\n$2 = $2 * $1\n$0 = $0 + $2 * 0.041666666666666664\n$2 = $2 * $1\n$0 = $0 + $2 * 0.008333333333333333\n$2 = $2 * $1\n$0 = $0 + $2 * 0.001388888888888889\n$2 = $2 * $1\n$0 = $0 + $2 * 0.0001984126984126984\n$2 = $2 * $1\n$0 = $0 + $2 * 0.00002480158730158730\n$2 = $2 * $1\n$0 = $0 + $2 * 0.00000275573192239859\n$0 = $0 * $0\n$0 = $0 * $0\n$0 = $0 * $0\n$0 = $0 * $0\n$0 = $0 * $0\n$0 = $0 * $0\n$0 = $0 * $0\n";
}
int main() {
_init(), init();
int T=1;
while(T--) procedure();
return 0;
}
詳細信息
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3624kb
input:
input
output:
25 $1 = $1 * 0.0078125 $0 = 1 + $1 $2 = $1 * $1 $0 = $0 + $2 * 0.5 $2 = $2 * $1 $0 = $0 + $2 * 0.16666666666666666 $2 = $2 * $1 $0 = $0 + $2 * 0.041666666666666664 $2 = $2 * $1 $0 = $0 + $2 * 0.008333333333333333 $2 = $2 * $1 $0 = $0 + $2 * 0.001388888888888889 $2 = $2 * $1 $0 = $0 + $2 * 0.00019841...
result:
wrong answer x=-20,jury=2.06115e-09,participant=8.49916e-09,error=3.1235