結果
| 問題 | No.353 ヘイトプラス |
| コンテスト | |
| ユーザー |
rinrinta121
|
| 提出日時 | 2019-04-30 12:35:33 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 336 bytes |
| コンパイル時間 | 702 ms |
| コンパイル使用メモリ | 80,212 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-12-29 17:54:49 |
| 合計ジャッジ時間 | 1,959 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 5 RE * 2 |
ソースコード
#include<iostream>
#include<string>
#include<vector>
#include<algorithm>
#include<cmath>
#include<stdio.h>
#include<queue>
#include <climits>
#include <map>
const int mod = 1e9;
const int INF = 1e9;
using namespace std;
typedef long long ll;
int main()
{
ll a,b;
cin >> a >> b;
cout << (a * a - b * b) / (a - b) << endl;
}
rinrinta121