Submission #72353598
Source Code Expand
#include<bits/stdc++.h>
using namespace std;
int main(){
int N;
cin >> N;
vector<pair<int,int>> T(N);
for(int i=0;i<N;i++){
cin >> T[i].first;
T[i].second = i;
}
sort(T.begin(),T.end());
for(int i=0;i<3;i++){
cout << T[i].second + 1 << endl;
}
}
Submission Info
| Submission Time | |
|---|---|
| Task | B - Trifecta |
| User | takumu0427 |
| Language | C++23 (GCC 15.2.0) |
| Score | 200 |
| Code Size | 289 Byte |
| Status | AC |
| Exec Time | 1 ms |
| Memory | 3632 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 200 / 200 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample_01.txt, sample_02.txt |
| All | random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, sample_01.txt, sample_02.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| random_01.txt | AC | 1 ms | 3420 KiB |
| random_02.txt | AC | 1 ms | 3436 KiB |
| random_03.txt | AC | 1 ms | 3624 KiB |
| random_04.txt | AC | 1 ms | 3444 KiB |
| random_05.txt | AC | 1 ms | 3500 KiB |
| random_06.txt | AC | 1 ms | 3624 KiB |
| random_07.txt | AC | 1 ms | 3500 KiB |
| random_08.txt | AC | 1 ms | 3632 KiB |
| sample_01.txt | AC | 1 ms | 3480 KiB |
| sample_02.txt | AC | 1 ms | 3444 KiB |