結果
問題 |
No.80 四角形を描こう
|
ユーザー |
|
提出日時 | 2014-11-28 00:32:46 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 124 ms / 5,000 ms |
コード長 | 260 bytes |
コンパイル時間 | 1,979 ms |
コンパイル使用メモリ | 73,900 KB |
実行使用メモリ | 54,256 KB |
最終ジャッジ日時 | 2024-10-08 03:53:53 |
合計ジャッジ時間 | 4,082 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 8 |
ソースコード
import java.util.*; import static java.lang.Math.*; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int D=sc.nextInt()/2; int x=D/2; int y=D-x; System.out.println(x*y); }}