QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#545765#9136. Exponent Calculatorpengpeng_fudan#WA 0ms3556kbC++201.2kb2024-09-03 17:02:542024-09-03 17:02:55

Judging History

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

  • [2024-09-03 17:02:55]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3556kb
  • [2024-09-03 17:02:54]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;
using ull=unsigned long long;
using ll=long long;
void solve() {

    cout << "25" << endl;
    cout << "$0 = $0 * 0.000488281250" << endl;
    cout << "$1 = $0 * $0" << endl;
    cout << "$2 = $0 * $1" << endl;
    cout << "$3 = $0 * $2" << endl;
    cout << "$4 = $0 * $3" << endl;
    cout << "$1 = $1 * 0.500000000000" << endl;
    cout << "$2 = $2 * 0.166666666667" << endl;
    cout << "$3 = $3 * 0.041666666667" << endl;
    cout << "$4 = $4 * 0.008333333333" << endl;
    cout << "$0 = $0 + 1" << endl;
    cout << "$0 = $0 + $1" << endl;
    cout << "$0 = $0 + $2" << endl;
    cout << "$0 = $0 + $3" << endl;
    cout << "$0 = $0 + $4" << endl;
    cout << "$0 = $0 * $0" << endl;
    cout << "$0 = $0 * $0" << endl;
    cout << "$0 = $0 * $0" << endl;
    cout << "$0 = $0 * $0" << endl;
    cout << "$0 = $0 * $0" << endl;
    cout << "$0 = $0 * $0" << endl;
    cout << "$0 = $0 * $0" << endl;
    cout << "$0 = $0 * $0" << endl;
    cout << "$0 = $0 * $0" << endl;
    cout << "$0 = $0 * $0" << endl;
    cout << "$0 = $0 * $0" << endl;

}
int main() {
    ios::sync_with_stdio(0),cin.tie(0);
    int _ = 1;
    //cin >> _;
    while(_--) solve();
    return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3556kb

input:

input

output:

25
$0 = $0 * 0.000488281250
$1 = $0 * $0
$2 = $0 * $1
$3 = $0 * $2
$4 = $0 * $3
$1 = $1 * 0.500000000000
$2 = $2 * 0.166666666667
$3 = $3 * 0.041666666667
$4 = $4 * 0.008333333333
$0 = $0 + 1
$0 = $0 + $1
$0 = $0 + $2
$0 = $0 + $3
$0 = $0 + $4
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 =...

result:

wrong answer x=-20,jury=2.06115e-09,participant=1,error=4.85165e+08