QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#684767#9136. Exponent Calculatoricpc_zhzx034#WA 0ms3652kbC++14995b2024-10-28 15:44:022024-10-28 15:44:03

Judging History

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

  • [2024-10-28 15:44:03]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3652kb
  • [2024-10-28 15:44:02]
  • 提交

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 / 128\n$0 = 1 + $1\n$2 = $1 * $1\n$0 = $0 + $2 / 2\n$2 = $2 * $1\n$0 = $0 + $2 / 6\n$2 = $2 * $1\n$0 = $0 + $2 / 24\n$2 = $2 * $1\n$0 = $0 + $2 / 120\n$2 = $2 * $1\n$0 = $0 + $2 / 720\n$2 = $2 * $1\n$0 = $0 + $2 / 5040\n$2 = $2 * $1\n$0 = $0 + $2 / 40320\n$2 = $2 * $1\n$0 = $0 + $2 / 362880\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;
}

詳細信息

Test #1:

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

input:

input

output:

25
$1 = $1 / 128
$0 = 1 + $1
$2 = $1 * $1
$0 = $0 + $2 / 2
$2 = $2 * $1
$0 = $0 + $2 / 6
$2 = $2 * $1
$0 = $0 + $2 / 24
$2 = $2 * $1
$0 = $0 + $2 / 120
$2 = $2 * $1
$0 = $0 + $2 / 720
$2 = $2 * $1
$0 = $0 + $2 / 5040
$2 = $2 * $1
$0 = $0 + $2 / 40320
$2 = $2 * $1
$0 = $0 + $2 / 362880
$0 = $0 * $0
$...

result:

wrong answer Wrong operation = / in command #1 (in 1-indexation)