結果
| 問題 |
No.84 悪の算盤
|
| コンテスト | |
| ユーザー |
tenten
|
| 提出日時 | 2020-11-17 13:49:52 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 255 bytes |
| コンパイル時間 | 2,062 ms |
| コンパイル使用メモリ | 74,252 KB |
| 実行使用メモリ | 54,360 KB |
| 最終ジャッジ日時 | 2024-07-23 08:14:48 |
| 合計ジャッジ時間 | 4,557 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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