Skip to content

Instantly share code, notes, and snippets.

@ashiato45
Last active February 20, 2021 10:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashiato45/dd44a7dd85d50317f89fe937014168a0 to your computer and use it in GitHub Desktop.
Save ashiato45/dd44a7dd85d50317f89fe937014168a0 to your computer and use it in GitHub Desktop.
use proconio::input;
use proconio::marker::Usize1;
use num::integer::gcd;
use std::collections::{HashMap, HashSet, BinaryHeap};
fn main() {
let mut n: usize;
input!{
n: usize,
m: usize,
ab: [(Usize1, Usize1); m],
k: usize,
c: [Usize1; k]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment