Last active
September 5, 2020 02:47
-
-
Save kuwata0037/498a1d444266ac9d49a839239dd6a281 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use proconio::{input, source::auto}; | |
use std::io::BufRead; | |
fn main() { | |
let stdin = std::io::stdin(); | |
println!("{}", solve(auto::AutoSource::new(stdin.lock()))); | |
} | |
fn solve<T, R>(source: T) -> String | |
where | |
T: Into<auto::AutoSource<R>>, | |
R: BufRead, | |
{ | |
input! { | |
from source.into(), | |
} | |
return "".to_owned(); | |
} | |
#[cfg(test)] | |
mod tests { | |
use super::*; | |
#[test] | |
fn case1() { | |
assert_eq!(solve(""), ""); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment