QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#684767 | #9136. Exponent Calculator | icpc_zhzx034# | WA | 0ms | 3652kb | C++14 | 995b | 2024-10-28 15:44:02 | 2024-10-28 15:44:03 |
Judging History
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)