結果
問題 | No.84 悪の算盤 |
ユーザー |
![]() |
提出日時 | 2014-12-03 00:08:31 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 10 ms / 5,000 ms |
コード長 | 199 bytes |
コンパイル時間 | 343 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 6,272 KB |
最終ジャッジ日時 | 2024-10-13 08:43:03 |
合計ジャッジ時間 | 700 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
R, C = map(int,raw_input().split())s = R*Cif R==C:if s%2==0:print s/4-1else:print s/4else:if s%2==0:print s/2-1else:print s/2