# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
223390 | dantoh000 | Matching (COCI20_matching) | C++14 | 11 ms | 2944 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
vector<int> ans[100005];
int main(){
int n;
scanf("%d",&n);
for (int i = 0; i < n; i++ ){
int x,y;
scanf("%d%d",&x,&y);
ans[x].push_back(i+1);
}
printf("DA\n");
for (int i = 0; i <= 100000; i++){
for (auto x : ans[i]) printf("%d ",x);
printf("\n");
}
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |