Submission #1846525
Source Code Expand
#include <iostream> #include <cmath> using namespace std; int f(double n) { return floor((n*n+4.0)/8.0); } int main(void) { cout << f(f(f(20))) << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - 天下一合成関数 |
User | leaf1415 |
Language | C++14 (GCC 5.4.1) |
Score | 100 |
Code Size | 184 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 256 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | no-input |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
no-input | AC | 1 ms | 256 KB |