結果

問題 No.602 隠されていたゲーム2
コンテスト
ユーザー creep04
提出日時 2017-12-02 04:07:47
言語 C++11
(gcc 15.3.0 + boost 1.92.0)
コンパイル:
g++-15 -O2 -lm -std=gnu++11 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
WA  
実行時間 -
コード長 300 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 872 ms
コンパイル使用メモリ 183,508 KB
実行使用メモリ 9,916 KB
最終ジャッジ日時 2026-10-01 05:06:47
合計ジャッジ時間 2,587 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 13 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <bits/stdc++.h>
using namespace std;

int n, x, y, t;
long long D;
int main() {
	cin.tie(0);
	ios::sync_with_stdio(false);
	
	cin >> n;
	vector<long long> d(n);
	for (int i = 0; i < n; ++i) cin >> d[i];
	sort(d.begin(), d.end());
	cin >> x >> y;
	D = abs(x) + abs(y);
	
	cout << 2 << endl;
}
0