This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // [dependencies] | |
| // nix = { version = "0.29.0", features = ["fs", "mman"], default-features = false } | |
| use std::num::NonZeroUsize; | |
| use nix::fcntl::OFlag; | |
| use nix::sys::mman::{self, shm_unlink, MapFlags, ProtFlags}; | |
| use nix::sys::stat::Mode; | |
| use nix::unistd::ftruncate; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Vercel | |
| glitch | |
| koyeb | |
| cyclic |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| def get_all_max_numbers(input_list): | |
| if not input_list: | |
| return [] | |
| max_value = max(input_list)[0] | |
| max_numbers = [num for num in input_list if num[0] == max_value] | |
| return max_numbers |