Submission #4012362
Source Code Expand
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; int func(double x) { return((int)((x * x + 4.0) / 8.0)); } void solve() { cout << func(func(func(20))) << endl; } int main() { solve(); return(0); }
Submission Info
Submission Time | |
---|---|
Task | A - 天下一合成関数 |
User | smon |
Language | C++14 (GCC 5.4.1) |
Score | 100 |
Code Size | 275 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 |