QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#500477#9136. Exponent Calculatortriple___aWA 0ms3632kbC++20854b2024-08-01 12:48:422024-08-01 12:48:43

Judging History

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

  • [2024-08-01 12:48:43]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3632kb
  • [2024-08-01 12:48:42]
  • 提交

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.00390625\n$2 = 1\n$3 = 1\n$4 = $2 * $3\n$1 = $1 + $4\n$2 = $2 * x\n$3 = $3 * 0.5\n$4 = $2 * $3\n$1 = $1 + $4\n$2 = $2 * x\n$3 = $3 * 0.33333333333333333\n$4 = $2 * $3\n$1 = $1 + $4\n$2 = $2 * x\n$3 = $3 * 0.25\n$4 = $2 * $3\n$1 = $1 + $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\n0 = $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: 0
Wrong Answer
time: 0ms
memory: 3632kb

input:

input

output:

25
$1 = $1 * 0.00390625
$2 = 1
$3 = 1
$4 = $2 * $3
$1 = $1 + $4
$2 = $2 * x
$3 = $3 * 0.5
$4 = $2 * $3
$1 = $1 + $4
$2 = $2 * x
$3 = $3 * 0.33333333333333333
$4 = $2 * $3
$1 = $1 + $4
$2 = $2 * x
$3 = $3 * 0.25
$4 = $2 * $3
$1 = $1 + $4
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $...

result:

wrong answer Can't recognize op #6: '$2 = $2 * x' (in 1-indexation)