mic 0.1.0

Facilitates answering to competitive programming problems.
Documentation
1
2
3
4
5
6
7
8
9
use mic::answer;
use proconio::input;
use std::cmp;

#[answer(yn("Yes", "No"))]
fn main() -> _ {
    input!(x: u32, y: u32);
    cmp::min(x, y) + 3 > cmp::max(x, y)
}