結果
| 問題 |
No.306 さいたま2008
|
| コンテスト | |
| ユーザー |
dnish
|
| 提出日時 | 2017-07-04 23:53:25 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 194 bytes |
| コンパイル時間 | 1,540 ms |
| コンパイル使用メモリ | 165,268 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-05 16:22:27 |
| 合計ジャッジ時間 | 2,191 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 WA * 2 |
ソースコード
#include <bits/stdc++.h>
#define p(s) cout<<(s)<<endl
using namespace std;
int main(){
int xa,ya,xb,yb;
cin>>xa>>ya>>xb>>yb;
double ans=(yb-(double)(yb-ya)/(xa+xb)*xb);
p(ans);
return 0;
}
dnish