結果
問題 | No.2407 Bouns 2.0 |
ユーザー |
![]() |
提出日時 | 2023-09-02 02:17:26 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 300 bytes |
コンパイル時間 | 1,826 ms |
コンパイル使用メモリ | 190,964 KB |
最終ジャッジ日時 | 2025-02-16 17:53:39 |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 18 |
ソースコード
#include <bits/stdc++.h> #define endl '\n' typedef long long ll; using namespace std; int main(void) { ios::sync_with_stdio(false); cin.tie(0); int w, z; double b; cin >> w >> z >> b; int sum = w + z; int ans = sum + (sum * b); cout << ans << endl; return 0; }