結果
問題 |
No.445 得点
|
ユーザー |
![]() |
提出日時 | 2022-07-12 17:11:01 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 295 bytes |
コンパイル時間 | 2,694 ms |
コンパイル使用メモリ | 244,736 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-23 15:02:41 |
合計ジャッジ時間 | 3,447 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 16 WA * 5 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define int long long #define double long double 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+0.00000000000001) c = i; cout<<ans+c<<endl; }