QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#494918 | #9136. Exponent Calculator | ucup-team1004# | AC ✓ | 0ms | 3604kb | C++14 | 908b | 2024-07-27 17:38:13 | 2024-07-27 17:38:14 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
#ifdef DEBUG
#include"debug.h"
#else
#define debug(...) void()
#endif
#define all(x) (x).begin(),(x).end()
template<class T>
auto ary(T *a,int l,int r){
return vector<T>{a+l,a+1+r};
}
using ll=long long;
using ull=unsigned long long;
using ld=long double;
int main(){
cout<<"24\n\
$1 = $1 * 0.00390625\n\
$0 = 0.0001984126984126984\n\
$0 = $1 * $0\n\
$0 = $0 + 0.001388888888888889\n\
$0 = $1 * $0\n\
$0 = $0 + 0.008333333333333333\n\
$0 = $1 * $0\n\
$0 = $0 + 0.04166666666666666\n\
$0 = $1 * $0\n\
$0 = $0 + 0.1666666666666667\n\
$0 = $1 * $0\n\
$0 = $0 + 0.5\n\
$0 = $1 * $0\n\
$0 = $0 + 1\n\
$0 = $1 * $0\n\
$0 = $0 + 1\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\
$0 = $0 * $0\n"<<endl;
return 0;
}
#ifdef DEBUG
#include"debug.hpp"
#endif
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3604kb
input:
input
output:
24 $1 = $1 * 0.00390625 $0 = 0.0001984126984126984 $0 = $1 * $0 $0 = $0 + 0.001388888888888889 $0 = $1 * $0 $0 = $0 + 0.008333333333333333 $0 = $1 * $0 $0 = $0 + 0.04166666666666666 $0 = $1 * $0 $0 = $0 + 0.1666666666666667 $0 = $1 * $0 $0 = $0 + 0.5 $0 = $1 * $0 $0 = $0 + 1 $0 = $1 * $0 $0 = $0 + 1...
result:
ok max relative diff is 9.46398e-12. Checker runtime is 193 ms
Extra Test:
score: 0
Extra Test Passed