QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#760453#9136. Exponent CalculatorDaiRuiChen007AC ✓0ms3576kbC++17863b2024-11-18 17:00:302024-11-18 17:00:31

Judging History

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

  • [2024-11-18 17:00:31]
  • 评测
  • 测评结果:AC
  • 用时:0ms
  • 内存:3576kb
  • [2024-11-18 17:00:30]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
signed main() {
	puts("25\n$2 = $1 * 0.00048828125\n$0 = $2 + 1\n$3 = $2 * $2\n$3 = $3 * 0.5\n$0 = $0 + $3\n$3 = $3 * $2\n$3 = $3 * 0.333333333333333333333333\n$0 = $0 + $3\n$3 = $3 * $2\n$3 = $3 * 0.25\n$0 = $0 + $3\n$3 = $3 * $2\n$3 = $3 * 0.2\n$0 = $0 + $3\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");
}
/*
$2 = $1 * 0.00048828125
$0 = $2 + 1
$3 = $2 * $2
$3 = $3 * 0.5
$0 = $0 + $3
$3 = $3 * $2
$3 = $3 * 0.333333333333333333333333
$0 = $0 + $3
$3 = $3 * $2
$3 = $3 * 0.25
$0 = $0 + $3
$3 = $3 * $2
$3 = $3 * 0.2
$0 = $0 + $3
$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
*/

详细

Test #1:

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

input:

input

output:

25
$2 = $1 * 0.00048828125
$0 = $2 + 1
$3 = $2 * $2
$3 = $3 * 0.5
$0 = $0 + $3
$3 = $3 * $2
$3 = $3 * 0.333333333333333333333333
$0 = $0 + $3
$3 = $3 * $2
$3 = $3 * 0.25
$0 = $0 + $3
$3 = $3 * $2
$3 = $3 * 0.2
$0 = $0 + $3
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0...

result:

ok max relative diff is 3.42876e-12. Checker runtime is 249 ms

Extra Test:

score: 0
Extra Test Passed