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

Function main

1486-xor-operation-in-an-array.rs:12–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10// 著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。
11
12fn main() {
13 let n = 5;
14 let start = 0;
15 println!("{:?}", xor_operation(n, start));
16}
17
18pub fn xor_operation(n: i32, start: i32) -> i32 {
19 let mut res = start;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected