QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#500477 | #9136. Exponent Calculator | triple___a | WA | 0ms | 3632kb | C++20 | 854b | 2024-08-01 12:48:42 | 2024-08-01 12:48:43 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
signed main(){
ios::sync_with_stdio(false);
cin.tie(0), cout.tie(0);
cout<<"25\n$1 = $1 * 0.00390625\n$2 = 1\n$3 = 1\n$4 = $2 * $3\n$1 = $1 + $4\n$2 = $2 * x\n$3 = $3 * 0.5\n$4 = $2 * $3\n$1 = $1 + $4\n$2 = $2 * x\n$3 = $3 * 0.33333333333333333\n$4 = $2 * $3\n$1 = $1 + $4\n$2 = $2 * x\n$3 = $3 * 0.25\n$4 = $2 * $3\n$1 = $1 + $4\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\n0 = $0 * $0";
}
/*
25
$1 = $1 / 256
$2 = 1
$3 = 1
$4 = $2 * $3
$1 = $1 + $4
$2 = $2 * x
$3 = $3 / 2
$4 = $2 * $3
$1 = $1 + $4
$2 = $2 * x
$3 = $3 / 3
$4 = $2 * $3
$1 = $1 + $4
$2 = $2 * x
$3 = $3 / 4
$4 = $2 * $3
$1 = $1 + $4
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
*/
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3632kb
input:
input
output:
25 $1 = $1 * 0.00390625 $2 = 1 $3 = 1 $4 = $2 * $3 $1 = $1 + $4 $2 = $2 * x $3 = $3 * 0.5 $4 = $2 * $3 $1 = $1 + $4 $2 = $2 * x $3 = $3 * 0.33333333333333333 $4 = $2 * $3 $1 = $1 + $4 $2 = $2 * x $3 = $3 * 0.25 $4 = $2 * $3 $1 = $1 + $4 $0 = $0 * $0 $0 = $0 * $0 $0 = $0 * $0 $0 = $0 * $0 $0 = $0 * $...
result:
wrong answer Can't recognize op #6: '$2 = $2 * x' (in 1-indexation)