結果
| 問題 |
No.445 得点
|
| ユーザー |
gigime
|
| 提出日時 | 2016-11-18 22:23:39 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 534 bytes |
| コンパイル時間 | 1,309 ms |
| コンパイル使用メモリ | 159,176 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-26 10:30:30 |
| 合計ジャッジ時間 | 1,991 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 WA * 4 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define FOR(i,l,r) for(int i = (l);i < (r);i++)
#define ALL(x) (x).begin(),(x).end()
template<typename T> bool chmax(T& a,const T& b){return a < b ? (a = b,true) : false;}
template<typename T> bool chmin(T& a,const T& b){return b < a ? (a = b,true) : false;}
typedef long long ll;
double N,K;
int main()
{
cin.tie(nullptr);
ios::sync_with_stdio(false);
cin >> N >> K;
double ans = N * 50.0 + (int) ((50 * N) / (0.8 + 0.2 * K));
cout << (int) (ans + 1e-6) << endl;
return 0;
}
gigime