結果
| 問題 | No.538 N.G.S. |
| コンテスト | |
| ユーザー |
torith
|
| 提出日時 | 2017-07-11 11:11:26 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 376 bytes |
| コンパイル時間 | 1,237 ms |
| コンパイル使用メモリ | 157,036 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-07 14:43:18 |
| 合計ジャッジ時間 | 2,735 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 4 |
| other | WA * 51 |
ソースコード
/*
* 538.cpp
*/
//include files
#include<bits/stdc++.h>
using namespace std;
//DEFINE MACROS
#define MIN(a,b) (a>b?b:a)
#define MAX(a,b) (a>b?a:b)
#define PRINTLN(s) cout << s << endl
//DEFINE CONSTANT
//DEFINE PROTOTYPE
int main(){
long long int b1,b2,b3;
cin >> b1;
cin >> b2;
cin >> b3;
cout << (b3*(b3-b2) - b2*(b3-b2))/(b2-b1) << "\n";
return 0;
}
torith