Submission #70950144
Source Code Expand
#include <bits/stdc++.h>
typedef long long valueType;
typedef std::vector<valueType> ValueVector;
typedef std::vector<ValueVector> ValueMatrix;
typedef std::vector<ValueMatrix> ValueCube;
typedef std::string string;
typedef std::vector<string> StringVector;
typedef std::vector<bool> bitset;
typedef std::vector<bitset> BitMatrix;
typedef std::pair<valueType, valueType> ValuePair;
typedef std::vector<ValuePair> PairVector;
typedef std::vector<PairVector> PairMatrix;
typedef std::tuple<valueType, valueType, valueType> ValueTuple;
typedef std::vector<ValueTuple> TupleVector;
typedef std::vector<TupleVector> TupleMatrix;
typedef std::set<valueType> ValueSet;
int main() {
std::ios::sync_with_stdio(false);
std::cin.tie(nullptr);
std::cout.tie(nullptr);
ValueVector N(3);
std::cin >> N[0] >> N[1] >> N[2];
std::sort(N.begin(), N.end(), std::greater<valueType>());
std::cout << N[0] << N[1] << N[2] << std::endl;
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Permute to Maximize |
| User | UserUnauthorized |
| Language | C++23 (Clang 21.1.0) |
| Score | 100 |
| Code Size | 996 Byte |
| Status | AC |
| Exec Time | 2 ms |
| Memory | 3092 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt |
| All | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_test_00.txt, 01_test_01.txt, 01_test_02.txt, 01_test_03.txt, 01_test_04.txt, 01_test_05.txt, 01_test_06.txt, 01_test_07.txt, 01_test_08.txt, 01_test_09.txt, 01_test_10.txt, 01_test_11.txt, 01_test_12.txt, 01_test_13.txt, 01_test_14.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 00_sample_00.txt | AC | 2 ms | 2940 KiB |
| 00_sample_01.txt | AC | 1 ms | 2956 KiB |
| 00_sample_02.txt | AC | 1 ms | 2992 KiB |
| 01_test_00.txt | AC | 1 ms | 3060 KiB |
| 01_test_01.txt | AC | 1 ms | 3040 KiB |
| 01_test_02.txt | AC | 1 ms | 2936 KiB |
| 01_test_03.txt | AC | 1 ms | 3060 KiB |
| 01_test_04.txt | AC | 1 ms | 2904 KiB |
| 01_test_05.txt | AC | 1 ms | 3052 KiB |
| 01_test_06.txt | AC | 1 ms | 3052 KiB |
| 01_test_07.txt | AC | 1 ms | 3092 KiB |
| 01_test_08.txt | AC | 1 ms | 2968 KiB |
| 01_test_09.txt | AC | 1 ms | 2944 KiB |
| 01_test_10.txt | AC | 1 ms | 2968 KiB |
| 01_test_11.txt | AC | 1 ms | 3060 KiB |
| 01_test_12.txt | AC | 1 ms | 3092 KiB |
| 01_test_13.txt | AC | 1 ms | 2940 KiB |
| 01_test_14.txt | AC | 1 ms | 3092 KiB |