QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#684793#9136. Exponent Calculatoricpc_zhzx034#WA 0ms3624kbC++141.1kb2024-10-28 15:56:162024-10-28 15:56:17

Judging History

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

  • [2024-10-28 15:56:17]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3624kb
  • [2024-10-28 15:56:16]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair <ll,ll> P;
#define _for(x,y,z) for (int x(y),_(z); x<=_; ++x)
#define _rep(x,y,z) for (int x(y),_(z); x>=_; --x)
inline ll read(){ ll x; cin>>x; return x; }
inline void _init(){
	#ifdef LOCAL
		assert(freopen("test.in", "r", stdin));
		assert(freopen("test.out", "w", stdout));
	#endif
	ios::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr);
}


void init() {}
void procedure() {
	cout << "25\n$1 = $1 * 0.0078125\n$0 = 1 + $1\n$2 = $1 * $1\n$0 = $0 + $2 * 0.5\n$2 = $2 * $1\n$0 = $0 + $2 * 0.16666666666666666\n$2 = $2 * $1\n$0 = $0 + $2 * 0.041666666666666664\n$2 = $2 * $1\n$0 = $0 + $2 * 0.008333333333333333\n$2 = $2 * $1\n$0 = $0 + $2 * 0.001388888888888889\n$2 = $2 * $1\n$0 = $0 + $2 * 0.0001984126984126984\n$2 = $2 * $1\n$0 = $0 + $2 * 0.00002480158730158730\n$2 = $2 * $1\n$0 = $0 + $2 * 0.00000275573192239859\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";
}

int main() {
	_init(), init();
	int T=1;
	while(T--) procedure();
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

input

output:

25
$1 = $1 * 0.0078125
$0 = 1 + $1
$2 = $1 * $1
$0 = $0 + $2 * 0.5
$2 = $2 * $1
$0 = $0 + $2 * 0.16666666666666666
$2 = $2 * $1
$0 = $0 + $2 * 0.041666666666666664
$2 = $2 * $1
$0 = $0 + $2 * 0.008333333333333333
$2 = $2 * $1
$0 = $0 + $2 * 0.001388888888888889
$2 = $2 * $1
$0 = $0 + $2 * 0.00019841...

result:

wrong answer x=-20,jury=2.06115e-09,participant=8.49916e-09,error=3.1235