Submission #68102094
Source Code Expand
use proconio::{input, marker::Chars}; fn main() { input! { n: usize, a: usize, b: usize, s: Chars, }; let ans = s[a..(n - b)].iter().collect::<String>(); println!("{}", ans); }
Submission Info
Submission Time | |
---|---|
Task | A - A Substring |
User | ikd |
Language | Rust (rustc 1.70.0) |
Score | 100 |
Code Size | 227 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 2088 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_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 01_random_08.txt, 01_random_09.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_sample_00.txt | AC | 1 ms | 2084 KiB |
00_sample_01.txt | AC | 1 ms | 2088 KiB |
00_sample_02.txt | AC | 1 ms | 1928 KiB |
01_random_03.txt | AC | 1 ms | 1876 KiB |
01_random_04.txt | AC | 1 ms | 1940 KiB |
01_random_05.txt | AC | 1 ms | 1912 KiB |
01_random_06.txt | AC | 1 ms | 1940 KiB |
01_random_07.txt | AC | 1 ms | 1980 KiB |
01_random_08.txt | AC | 1 ms | 1948 KiB |
01_random_09.txt | AC | 1 ms | 1852 KiB |