結果
| 問題 |
No.965 門松列が嫌い
|
| コンテスト | |
| ユーザー |
kotorigasatori1
|
| 提出日時 | 2020-01-17 18:42:47 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 241 bytes |
| コンパイル時間 | 714 ms |
| コンパイル使用メモリ | 66,816 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-25 15:56:00 |
| 合計ジャッジ時間 | 1,425 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 5 WA * 4 |
ソースコード
#include <iostream>
#include<math.h>
using namespace std;
int main()
{
long long int b;
long long int ac[2];
for(int i=0;i<3;i++)cin >> ac[0] >> b >> ac[1];
long long int ans = min(abs(ac[0] - b),abs(ac[1] -b));
cout << ans;
return 0;
}
kotorigasatori1