結果

問題 No.80 四角形を描こう
ユーザー KKT89
提出日時 2020-10-15 23:04:41
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 219 bytes
コンパイル時間 1,947 ms
コンパイル使用メモリ 193,024 KB
最終ジャッジ日時 2025-01-15 07:40:35
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;

int main(){
    cin.tie(nullptr);
    ios::sync_with_stdio(false);
    int d; cin >> d;
    if(d%2)d--;
    cout << (d/2/2)*(d/2-d/2/2) << endl;
}
0