Skip to content

Instantly share code, notes, and snippets.

@kuwata0037
Last active September 5, 2020 02:47
Show Gist options
  • Save kuwata0037/498a1d444266ac9d49a839239dd6a281 to your computer and use it in GitHub Desktop.
Save kuwata0037/498a1d444266ac9d49a839239dd6a281 to your computer and use it in GitHub Desktop.
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