Task: | Merkkijono |
Sender: | fait |
Submission time: | 2021-10-05 22:11:01 +0300 |
Language: | Rust |
Status: | COMPILE ERROR |
Compiler report
error[E0463]: can't find crate for `text_io` --> input/code.rs:3:1 | 3 | extern crate text_io; | ^^^^^^^^^^^^^^^^^^^^^ can't find crate error: aborting due to previous error For more information about this error, try `rustc --explain E0463`.
Code
#![allow(non_snake_case)] #[macro_use] extern crate text_io; fn main() { let l: u8 = read!(); let mut ans: Vec<char> = vec![]; for c in 0..l { for _ in 0..ans.len() { ans.push((65 + c) as char); ans.rotate_left(1); } ans.push((65 + c) as char); } let realans: String = ans.into_iter().collect(); println!("{}", realans.to_ascii_lowercase()); }