結果
| 問題 |
No.84 悪の算盤
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-02-22 15:53:23 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 159 bytes |
| コンパイル時間 | 425 ms |
| コンパイル使用メモリ | 53,884 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-23 21:50:12 |
| 合計ジャッジ時間 | 1,110 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 WA * 3 |
ソースコード
#include <iostream>
using namespace std;
int main() {
long long r, c, ans;
cin >> r >> c;
ans = (r * c + 1) / 2 - 1;
cout << ans << endl;
return 0;
}