QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#518924 | #9136. Exponent Calculator | YMH_fourteen | AC ✓ | 0ms | 3676kb | C++14 | 971b | 2024-08-14 14:16:44 | 2024-08-14 14:16:46 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
#ifdef DEBUG
#include "E:/OI/normal/templates/debug.h"
#else
#define dbg(...) (void)0
#define msg(...) (void)0
#endif
#define ll long long
#define endl '\n'
#define PB emplace_back
#define PPB pop_back
#define MP make_pair
#define ALL(Name) Name.begin(),Name.end()
#define PII pair<int,int>
#define VI vector<int>
#define GI greater<int>
#define fi first
#define se second
int main()
{
ios::sync_with_stdio(false),cin.tie(nullptr);
// int _;cin>>_;while(_--)
cout<<R"(25
$1 = $1 * 0.00390625
$0 = $1 + 1
$2 = $1 * $1
$2 = $2 * 0.5
$0 = $0 + $2
$2 = $2 * $1
$2 = $2 * 0.33333333333333333333
$0 = $0 + $2
$2 = $2 * $1
$2 = $2 * 0.25
$0 = $0 + $2
$2 = $2 * $1
$2 = $2 * 0.2
$0 = $0 + $2
$2 = $2 * $1
$2 = $2 * 0.16666666666666666667
$0 = $0 + $2
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0
$0 = $0 * $0)";
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3676kb
input:
input
output:
25 $1 = $1 * 0.00390625 $0 = $1 + 1 $2 = $1 * $1 $2 = $2 * 0.5 $0 = $0 + $2 $2 = $2 * $1 $2 = $2 * 0.33333333333333333333 $0 = $0 + $2 $2 = $2 * $1 $2 = $2 * 0.25 $0 = $0 + $2 $2 = $2 * $1 $2 = $2 * 0.2 $0 = $0 + $2 $2 = $2 * $1 $2 = $2 * 0.16666666666666666667 $0 = $0 + $2 $0 = $0 * $0 $0 = $0 * $0...
result:
ok max relative diff is 9.66162e-10. Checker runtime is 209 ms
Extra Test:
score: 0
Extra Test Passed