結果
| 問題 | No.84 悪の算盤 |
| コンテスト | |
| ユーザー |
tenten
|
| 提出日時 | 2020-11-17 13:49:52 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 255 bytes |
| 記録 | |
| コンパイル時間 | 2,039 ms |
| コンパイル使用メモリ | 81,816 KB |
| 実行使用メモリ | 47,548 KB |
| 最終ジャッジ日時 | 2026-04-03 13:23:43 |
| 合計ジャッジ時間 | 4,685 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 WA * 3 |
ソースコード
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long x = sc.nextLong() * sc.nextLong();
long ans = (x + 1) / 2 - 1;
System.out.println(ans);
}
}
tenten