QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#499660 | #9136. Exponent Calculator | ucup-team3555 | WA | 0ms | 3808kb | C++20 | 439b | 2024-07-31 16:41:37 | 2024-07-31 16:41:37 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
const int N=10;
int fac[N],B=10;
int main(){
cout<<"25\n$1 = $1 * "<<1.0/(1<<B)<<'\n';
fac[0]=1;
for(int i=1;i<=7;i++) fac[i]=fac[i-1]*i;
cout<<"$0 = $1 * "<<1.0/fac[7]<<'\n';
for(int i=6;i>=1;i--){
cout<<"$0 = $0 + "<<1.0/fac[i]<<'\n';
cout<<"$0 = $0 * $1\n";
}
cout<<"$0 = $0 + 1\n";
for(int i=1;i<=B;i++) cout<<"$0 = $0 * $0\n";
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3808kb
input:
input
output:
25 $1 = $1 * 0.000976562 $0 = $1 * 0.000198413 $0 = $0 + 0.00138889 $0 = $0 * $1 $0 = $0 + 0.00833333 $0 = $0 * $1 $0 = $0 + 0.0416667 $0 = $0 * $1 $0 = $0 + 0.166667 $0 = $0 * $1 $0 = $0 + 0.5 $0 = $0 * $1 $0 = $0 + 1 $0 = $0 * $1 $0 = $0 + 1 $0 = $0 * $0 $0 = $0 * $0 $0 = $0 * $0 $0 = $0 * $0 $0 =...
result:
wrong answer x=-20,jury=2.06115e-09,participant=2.06117e-09,error=1.02375e-05