結果
| 問題 |
No.84 悪の算盤
|
| コンテスト | |
| ユーザー |
カニ戯(ry
|
| 提出日時 | 2015-02-25 13:31:28 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 220 bytes |
| コンパイル時間 | 2,217 ms |
| コンパイル使用メモリ | 78,436 KB |
| 実行使用メモリ | 56,356 KB |
| 最終ジャッジ日時 | 2024-06-23 23:17:45 |
| 合計ジャッジ時間 | 4,416 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 7 WA * 3 |
ソースコード
import java.util.Scanner;
public class Main {
public static void main(String[] a) {
Scanner s=new Scanner(System.in);
long R=s.nextLong(),C=s.nextLong();
System.out.println((R==1&&C==1)?0:R*C/(R==C?4:2)-1);
}
}
カニ戯(ry