結果

問題 No.538 N.G.S.
ユーザー Yut176
提出日時 2017-07-03 21:39:54
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 412 bytes
コンパイル時間 836 ms
コンパイル使用メモリ 87,028 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-05 12:43:28
合計ジャッジ時間 2,154 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 22 WA * 29
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<algorithm>
#include<cstdio>
#include<cstdlib>
#include<vector>
#include<string>
#include<sstream>
#include<cmath>
#include<numeric>
#include<map>
#include<stack>
#include<queue>
#include<list>
using namespace std;
int inf = 1000000000;

int main(void) {

  int b1, b2, b3;
  cin >> b1 >> b2 >> b3;
  cout << (b3*b3 - b3*b1 - b2*b3 + b2*b2) / (b2 - b1) << endl;

  return 0;
}

// EOF
0