QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#500494 | #9136. Exponent Calculator | triple___a | AC ✓ | 0ms | 3644kb | C++20 | 867b | 2024-08-01 13:04:33 | 2024-08-01 13:04:36 |
Judging History
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