Skip to main content

seen_long_pair

Function seen_long_pair 

Source
pub fn seen_long_pair(seen: &mut Vec<(i64, i64)>, left: i64, right: i64) -> bool
Expand description

Records one pair in a bounded seen-pair set and reports whether it was new.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::json_commands::seen_long_pair holds and false otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::seen_long_pair(todo!(), todo!(), todo!());