結果
| 問題 |
No.445 得点
|
| ユーザー |
keisuke6
|
| 提出日時 | 2022-07-12 17:10:26 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 251 bytes |
| コンパイル時間 | 2,950 ms |
| コンパイル使用メモリ | 245,116 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-23 15:02:12 |
| 合計ジャッジ時間 | 3,803 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 WA * 4 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int A,B;
cin>>A>>B;
int ans = 50*A;
double a = 50.0*A;
double b = 0.8+0.2*B;
int c = 0;
for(int i=0;i<=1000;i++)if(i*b <= a) c = i;
cout<<ans+c<<endl;
}
keisuke6