Submission #2120978
Source Code Expand
#include <iostream> #include <cmath> using namespace std; int f(int n) { return floor((n*n+4.0)/8.0); } int main() { cout << f(f(f(20))) << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - 天下一合成関数 |
User | xoke |
Language | C++14 (GCC 5.4.1) |
Score | 100 |
Code Size | 166 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 |