Submission #2456391


Source Code Expand

#include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for(int i = 0; i < n; i++)

int f(int x){
    return ((x * x + 4) / 8);
}

int main(){
    cin.tie(0);
    ios::sync_with_stdio(false);

    cout << f(f(f(20))) << endl;

    return 0;
}

Submission Info

Submission Time
Task A - 天下一合成関数
User tokizo
Language C++14 (GCC 5.4.1)
Score 100
Code Size 265 Byte
Status AC
Exec Time 1 ms
Memory 256 KB

Judge Result

Set Name All
Score / Max Score 100 / 100
Status
AC × 1
Set Name Test Cases
All no-input
Case Name Status Exec Time Memory
no-input AC 1 ms 256 KB