結果
問題 | No.84 悪の算盤 |
ユーザー |
![]() |
提出日時 | 2022-11-08 10:10:31 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 136 bytes |
コンパイル時間 | 322 ms |
コンパイル使用メモリ | 82,552 KB |
実行使用メモリ | 53,724 KB |
最終ジャッジ日時 | 2024-07-21 16:23:53 |
合計ジャッジ時間 | 1,717 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 10 |
ソースコード
import sysinput=lambda:sys.stdin.readline().rstrip()H,W=map(int,input().split())if H==W:print((H**2+3)//4)else:print((H*W+1)//2)