結果

問題 No.84 悪の算盤
ユーザー ぴろずぴろず
提出日時 2014-12-02 23:35:17
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 260 bytes
コンパイル時間 1,740 ms
コンパイル使用メモリ 70,412 KB
実行使用メモリ 56,588 KB
最終ジャッジ日時 2023-09-02 01:08:55
合計ジャッジ時間 4,081 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 115 ms
55,664 KB
testcase_01 AC 115 ms
55,572 KB
testcase_02 AC 115 ms
55,872 KB
testcase_03 AC 115 ms
55,672 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 116 ms
55,768 KB
testcase_08 AC 116 ms
55,956 KB
testcase_09 AC 114 ms
55,660 KB
testcase_10 AC 116 ms
55,796 KB
testcase_11 AC 121 ms
55,576 KB
testcase_12 AC 113 ms
55,736 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package no084;

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long r = sc.nextInt();
		long c = sc.nextInt();
		System.out.println(((r * c) + 1) / 2 - 1);
	}

}
0