結果
問題 |
No.538 N.G.S.
|
ユーザー |
![]() |
提出日時 | 2019-12-24 04:05:13 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 368 bytes |
コンパイル時間 | 1,676 ms |
コンパイル使用メモリ | 165,056 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-19 11:13:48 |
合計ジャッジ時間 | 2,833 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 41 WA * 10 |
ソースコード
#include <bits/stdc++.h> #define rep(i,n) for(int i=0;i<(n);++i) #define all(a) (a).begin(),(a).end() #define dunk(a) cout << (a) << endl using namespace std; typedef long long ll; int main() { ios::sync_with_stdio(false); cin.tie(0); ll b1, b2, b3; cin >> b1 >> b2 >> b3; int b4 = (b2 * b3 - b3 * b3 + b1 * b3 - b2 * b2) / (b1 - b2); dunk(b4); return 0; }