結果

問題 No.80 四角形を描こう
ユーザー te-sh
提出日時 2016-08-29 16:27:29
言語 D
(dmd 2.109.1)
結果
AC  
実行時間 1 ms / 5,000 ms
コード長 251 bytes
コンパイル時間 797 ms
コンパイル使用メモリ 105,412 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-12 03:49:01
合計ジャッジ時間 1,193 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

import std.algorithm, std.array, std.container, std.range;
import std.string, std.conv, std.math, std.random;
import std.stdio, std.typecons;

void main()
{
  auto d = readln.chomp.to!int;
  auto e = d / 2;
  auto f = e / 2;
  writeln(f * (e - f));
}
0