結果
問題 |
No.2771 Personal Space
|
ユーザー |
![]() |
提出日時 | 2024-03-14 12:09:52 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 449 bytes |
コンパイル時間 | 1,929 ms |
コンパイル使用メモリ | 196,008 KB |
最終ジャッジ日時 | 2025-02-20 04:21:51 |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | WA * 24 |
ソースコード
#include <bits/stdc++.h> using namespace std; using ll = long long; int main(){ cin.tie(nullptr); ios_base::sync_with_stdio(false); int N, A, l, r, d, idx, idx2, l2, r2; cin >> N >> A; //最大距離, -添字, 左、右 priority_queue<tuple<int, int, int, int>> que; vector<int> ans(N+1); for (int i=1; i<=N; i++) ans[i] = i; for (int i=1; i<=N; i++) cout << ans[i] << " "; cout << endl; return 0; }