結果

問題 No.80 四角形を描こう
ユーザー tetsuzuki1115
提出日時 2017-09-28 03:11:37
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 419 bytes
コンパイル時間 700 ms
コンパイル使用メモリ 77,248 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-15 17:58:45
合計ジャッジ時間 1,361 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <string>
#include <cstring>
#include <math.h>
#include <cmath>
#include <limits.h>
#include <map>
#include <set>
#include <queue>
#include <algorithm>
#include <functional>
#include <stdio.h>
using namespace std;

long long MOD = 1000000007;

int main() {
    
    int D;
    cin >> D;
    
    cout << ( D/4 ) * ((D/4) + ((D%4)/2)) << endl;
    
    
    
    return 0;
}
0