結果
問題 | No.84 悪の算盤 |
ユーザー |
![]() |
提出日時 | 2025-03-20 20:19:39 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 124 bytes |
コンパイル時間 | 150 ms |
コンパイル使用メモリ | 82,312 KB |
実行使用メモリ | 53,864 KB |
最終ジャッジ日時 | 2025-03-20 20:20:23 |
合計ジャッジ時間 | 1,227 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 WA * 3 |
ソースコード
R, C = map(int, input().split())if R % 2 == 1 and C % 2 == 1:print((R * C - 1) // 2)else:print((R * C) // 2 - 1)