結果

問題 No.1517 Party Location
ユーザー Subaru314
提出日時 2022-01-24 19:13:58
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 462 bytes
コンパイル時間 6,622 ms
コンパイル使用メモリ 284,960 KB
最終ジャッジ日時 2025-01-27 15:09:27
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other WA * 12 RE * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include"bits/stdc++.h"
#include<boost/multi_array.hpp>
#include<boost/optional.hpp>
#include<boost/range/irange.hpp>
#include<boost/range/algorithm.hpp>
#include<boost/range/adaptors.hpp>
using namespace std;

namespace adaptor = boost::adaptors;

void Main(){
  int a,b,c;
  cin >> a >> b >> c;
  cout << 2*b*c*a/(b+c);
}

int main(){
	std::cin.tie(nullptr);
	std::ios_base::sync_with_stdio(false);
	std::cout << std::fixed << std::setprecision(15);
	Main();
}
0