MCPcopy Create free account
hub / github.com/StudyRust/leetcode_rust / main

Function main

461-hamming-distance.rs:19–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17// 著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。
18
19fn main() {
20 println!("{:?}", hamming_distance(1, 3));
21}
22
23pub fn hamming_distance(x: i32, y: i32) -> i32 {
24 let x = format!("{:#064b}", x);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected