結果
問題 | No.602 隠されていたゲーム2 |
ユーザー |
![]() |
提出日時 | 2017-12-02 04:07:47 |
言語 | C++11 (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 300 bytes |
コンパイル時間 | 1,353 ms |
コンパイル使用メモリ | 162,400 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-28 02:37:19 |
合計ジャッジ時間 | 2,296 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 13 WA * 8 |
ソースコード
#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; }