QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#500494#9136. Exponent Calculatortriple___aAC ✓0ms3644kbC++20867b2024-08-01 13:04:332024-08-01 13:04:36

Judging History

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

  • [2024-08-01 13:04:36]
  • 评测
  • 测评结果:AC
  • 用时:0ms
  • 内存:3644kb
  • [2024-08-01 13:04:33]
  • 提交

answer

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

signed main(){
    ios::sync_with_stdio(false);
    cin.tie(0), cout.tie(0);
    cout<<"25\n$1 = $1 * 0.000030517578125\n$0 = $1 + 1\n$2 = $1 * $1\n$3 = 0.5\n$4 = $2 * $3\n$0 = $0 + $4\n$2 = $2 * $1\n$3 = $3 * 0.333333333333333\n$4 = $2 * $3\n$0 = $0 + $4\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$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$0 = $0 * $0";
}
/*
25
$1 = $1 / 256
$2 = 1
$3 = 1
$4 = $2 * $3
$1 = $1 + $4
$2 = $2 * x
$3 = $3 / 2
$4 = $2 * $3
$1 = $1 + $4
$2 = $2 * x
$3 = $3 / 3
$4 = $2 * $3
$1 = $1 + $4
$2 = $2 * x
$3 = $3 / 4
$4 = $2 * $3
$1 = $1 + $4
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
*/

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3644kb

input:

input

output:

25
$1 = $1 * 0.000030517578125
$0 = $1 + 1
$2 = $1 * $1
$3 = 0.5
$4 = $2 * $3
$0 = $0 + $4
$2 = $2 * $1
$3 = $3 * 0.333333333333333
$4 = $2 * $3
$0 = $0 + $4
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0...

result:

ok max relative diff is 1.99853e-10. Checker runtime is 148 ms

Extra Test:

score: 0
Extra Test Passed