結果

問題 No.80 四角形を描こう
ユーザー satanic
提出日時 2016-03-31 18:35:49
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 222 bytes
コンパイル時間 819 ms
コンパイル使用メモリ 59,116 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-02 08:30:29
合計ジャッジ時間 1,298 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 6 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cmath>

int main() {
    std::ios::sync_with_stdio(false);
    std::cin.tie(0);
    
    int d;
    std::cin >> d;
    std::cout << std::floor(d/4.0)*std::ceil(d/4.0) << "\n";

    return 0;
}
0