結果
問題 |
No.538 N.G.S.
|
ユーザー |
![]() |
提出日時 | 2020-04-13 20:28:45 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 322 bytes |
コンパイル時間 | 1,994 ms |
コンパイル使用メモリ | 166,148 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-25 08:15:52 |
合計ジャッジ時間 | 3,149 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 22 WA * 29 |
ソースコード
#include <bits/stdc++.h> #define _GLIBCXX_DEBUG #define rep(i, n) for (int i = 0; i < (int)(n); i++) using namespace std; using ll = long long; using pii = pair<int, int>; int main() { cin.tie(0); ios::sync_with_stdio(false); int a, b, c; cin >> a >> b >> c; cout << (a*c + b*c - b*b - c*c) / (a - b) << endl; }