結果
| 問題 |
No.538 N.G.S.
|
| コンテスト | |
| ユーザー |
ldsyb
|
| 提出日時 | 2017-06-30 22:41:29 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 226 bytes |
| コンパイル時間 | 459 ms |
| コンパイル使用メモリ | 64,464 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-04 20:39:39 |
| 合計ジャッジ時間 | 1,877 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 30 WA * 21 |
ソースコード
#include <iostream>
using namespace std;
int main(){
double b[3];
cin >> b[0] >> b[1] >> b[2];
double r = (b[1] - b[2]) / (b[0] - b[1]), d = b[1] - r * b[0];
cerr << r << ' ' << d << endl;
cout << r * b[2] + d << endl;
}
ldsyb