結果

問題 No.111 あばばばば
ユーザー kuramukuramu
提出日時 2016-01-22 21:38:31
言語 Java21
(openjdk 21)
結果
AC  
実行時間 51 ms / 5,000 ms
コード長 425 bytes
コンパイル時間 2,249 ms
コンパイル使用メモリ 74,620 KB
実行使用メモリ 53,456 KB
最終ジャッジ日時 2023-10-21 13:47:30
合計ジャッジ時間 2,964 ms
ジャッジサーバーID
(参考情報)
judge10 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 50 ms
52,376 KB
testcase_01 AC 51 ms
53,444 KB
testcase_02 AC 50 ms
53,456 KB
testcase_03 AC 50 ms
52,348 KB
testcase_04 AC 51 ms
52,376 KB
testcase_05 AC 49 ms
53,444 KB
testcase_06 AC 48 ms
52,360 KB
testcase_07 AC 48 ms
53,444 KB
testcase_08 AC 49 ms
53,448 KB
testcase_09 AC 50 ms
53,432 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) {
	      BufferedReader stdReader =new BufferedReader(new InputStreamReader(System.in));
	      try {
	    	  long N = Long.parseLong(stdReader.readLine());
	    	  System.out.println((N/2)*(N/2));
	    	  } catch (IOException e) {
			e.printStackTrace();
	      }
	}	
}
0