QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#495526 | #9136. Exponent Calculator | ucup-team3586# | AC ✓ | 0ms | 3664kb | C++23 | 809b | 2024-07-27 21:28:32 | 2024-07-27 21:28:33 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
int main()
{
puts("25");
puts("$1 = $1 + 20");
puts("$1 = $1 * 0.0001220703125");
puts("$15 = 1 + $1");
puts("$2 = $1 * $1");
puts("$5 = $2 * 0.5");
puts("$6 = $1 * 0.166666666666667");
puts("$7 = $2 * 0.041666666666667");
puts("$8 = $6 + $7");
puts("$8 = $8 * $2");
puts("$15 = $15 + $5");
puts("$15 = $15 + $8");
puts("$15 = $15 * $15");
puts("$15 = $15 * $15");
puts("$15 = $15 * $15");
puts("$15 = $15 * $15");
puts("$15 = $15 * $15");
puts("$15 = $15 * $15");
puts("$15 = $15 * $15");
puts("$15 = $15 * $15");
puts("$15 = $15 * $15");
puts("$15 = $15 * $15");
puts("$15 = $15 * $15");
puts("$15 = $15 * $15");
puts("$15 = $15 * $15");
puts("$0 = $15 * 0.00000000206115362243855782796594");
return 0;
}
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3664kb
input:
input
output:
25 $1 = $1 + 20 $1 = $1 * 0.0001220703125 $15 = 1 + $1 $2 = $1 * $1 $5 = $2 * 0.5 $6 = $1 * 0.166666666666667 $7 = $2 * 0.041666666666667 $8 = $6 + $7 $8 = $8 * $2 $15 = $15 + $5 $15 = $15 + $8 $15 = $15 * $15 $15 = $15 * $15 $15 = $15 * $15 $15 = $15 * $15 $15 = $15 * $15 $15 = $15 * $15 $15 = $15 ...
result:
ok max relative diff is 1.91088e-10. Checker runtime is 198 ms
Extra Test:
score: 0
Extra Test Passed