結果
問題 | No.445 得点 |
ユーザー |
![]() |
提出日時 | 2017-04-20 12:11:34 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 364 bytes |
コンパイル時間 | 1,467 ms |
コンパイル使用メモリ | 165,808 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-30 01:06:28 |
合計ジャッジ時間 | 2,181 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 |
ソースコード
#include<bits/stdc++.h>using namespace std;#define rep(i,a,b) for(int i=a;i<b;i++)int f(int n, int k) {return 50 * n + 500 * n / (8 + 2 * k);}//-----------------------------------------------------------------------------------int main() {cin.tie(0);ios::sync_with_stdio(false);int a, b; cin >> a >> b;cout << f(a, b) << endl;}