結果
| 問題 |
No.2407 Bouns 2.0
|
| コンテスト | |
| ユーザー |
forest3
|
| 提出日時 | 2023-09-27 01:36:54 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 205 bytes |
| コンパイル時間 | 1,553 ms |
| コンパイル使用メモリ | 165,840 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-19 19:14:10 |
| 合計ジャッジ時間 | 2,403 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
int w, z;
string bs;
cin >> w >> z >> bs;
int b = (bs[0] - '0') * 10 + bs[2] - '0' + 10;
int ans = (w + z) * b / 10;
cout << ans << endl;
}
forest3