Submission #49282257
Source Code Expand
use proconio::input; fn main() { input! { n: usize }; let mut res: Vec<char> = vec!['L']; for i in 0..n { res.push('o'); } res.push('n'); res.push('g'); println!("{}", res.into_iter().collect::<String>()); }
Submission Info
Submission Time | |
---|---|
Task | A - Long Loong |
User | alixfachin |
Language | Rust (rustc 1.70.0) |
Score | 100 |
Code Size | 260 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 2068 KiB |
Compile Error
warning: unused variable: `i` --> src/main.rs:9:9 | 9 | for i in 0..n { | ^ help: if this is intentional, prefix it with an underscore: `_i` | = note: `#[warn(unused_variables)]` on by default
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | example_00.txt, example_01.txt |
All | example_00.txt, example_01.txt, hand_00.txt, hand_01.txt, hand_02.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
example_00.txt | AC | 1 ms | 1968 KiB |
example_01.txt | AC | 1 ms | 1848 KiB |
hand_00.txt | AC | 1 ms | 1796 KiB |
hand_01.txt | AC | 1 ms | 1932 KiB |
hand_02.txt | AC | 1 ms | 2068 KiB |
random_00.txt | AC | 1 ms | 1860 KiB |
random_01.txt | AC | 1 ms | 1808 KiB |
random_02.txt | AC | 1 ms | 1948 KiB |
random_03.txt | AC | 1 ms | 1956 KiB |
random_04.txt | AC | 1 ms | 2064 KiB |