結果

問題 No.445 得点
ユーザー kichirb3
提出日時 2018-03-03 18:09:20
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 392 bytes
コンパイル時間 458 ms
コンパイル使用メモリ 64,276 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-30 04:45:00
合計ジャッジ時間 1,209 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

// No.445 得点
// https://yukicoder.me/problems/no/445
//

#include <iostream>
using namespace std;

int solve(int N, int K);


int main() {
    std::cin.tie(nullptr);
    std::ios::sync_with_stdio(false);

    int A, B;
    cin >> A >> B;
    int ans = solve(A, B);
    cout << ans << endl;
}

int solve(int N, int K) {
    return static_cast<int>(50 * N + (50 * N) / (0.8 + 0.2 * K)); 
}
0