結果

問題 No.445 得点
ユーザー snrnsidy
提出日時 2021-09-24 22:42:30
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 281 bytes
コンパイル時間 1,995 ms
コンパイル使用メモリ 192,552 KB
最終ジャッジ日時 2025-01-24 17:36:17
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main(void)
{
	cin.tie(0);
	ios::sync_with_stdio(false);

	long long int A,B;

	cin >> A >> B;

	long long int res = 50*A;

	long long int X = 500*A;
	long long int Y = 8 + 2*B;
	res += (X/Y);

	cout << res << '\n';
	
	return 0;
}
0