結果

問題 No.1517 Party Location
ユーザー トミー
提出日時 2023-12-30 02:20:36
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 270 bytes
コンパイル時間 1,991 ms
コンパイル使用メモリ 192,484 KB
最終ジャッジ日時 2025-02-18 15:24:29
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other WA * 12 RE * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
#define REP1(i,n,m) for(int i=n;i<=m;i++)
#define REP2(i,n,m) for(int i=n;i>=m;i--)
using namespace std;
void YN(bool f){if(f){cout<<"YES"<<endl;}else{cout<<"NO"<<endl;}}
int main(){
	int d,a,b;
	cin>>d>>a>>b;
	cout<<2*a*b*d/(a+b)<<endl;
	
	
	
}
0