Submission #74262424
Source Code Expand
use proconio::input;
fn main() {
input! {
n: usize,
}
let result = (1..=n)
.rev()
.map(|x| x.to_string())
.collect::<Vec<String>>()
.join(",");
println!("{}", result);
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - 3,2,1,GO |
| User | memoka |
| Language | Rust (rustc 1.89.0) |
| Score | 100 |
| Code Size | 240 Byte |
| Status | AC |
| Exec Time | 2 ms |
| Memory | 2004 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample_01.txt, sample_02.txt, sample_03.txt |
| All | random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, sample_01.txt, sample_02.txt, sample_03.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| random_01.txt | AC | 2 ms | 1960 KiB |
| random_02.txt | AC | 1 ms | 2004 KiB |
| random_03.txt | AC | 1 ms | 1972 KiB |
| random_04.txt | AC | 1 ms | 1928 KiB |
| random_05.txt | AC | 1 ms | 1904 KiB |
| random_06.txt | AC | 1 ms | 1840 KiB |
| sample_01.txt | AC | 2 ms | 1828 KiB |
| sample_02.txt | AC | 1 ms | 1968 KiB |
| sample_03.txt | AC | 2 ms | 1928 KiB |