結果
問題 |
No.538 N.G.S.
|
ユーザー |
![]() |
提出日時 | 2019-03-20 20:51:52 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 295 bytes |
コンパイル時間 | 661 ms |
コンパイル使用メモリ | 60,812 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-19 00:51:09 |
合計ジャッジ時間 | 2,395 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 21 WA * 30 |
ソースコード
#include <iostream> #include <vector> #include <utility> #include <algorithm> #include <string> #include <stack> using ll = long long; #define MOD 1000000007 using namespace std; int main(){ int a, b, c; cin >> a >> b >> c; cout << (c-b) * (c-b) / (b-a) + c << endl; return 0; }