ABC 046, wip on c and d

This commit is contained in:
2022-06-02 13:30:39 +02:00
parent 75fb792115
commit fda6666069
6 changed files with 98 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
use proconio::input;
fn main(){
input!{
a: u8,
b: u8,
c: u8,
};
if a == b && b == c {
println!("1");
} else if a == b || b == c || a == c {
println!("2");
} else {
println!("3");
}
}