This file contains 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
# Regras | |
- Acaba 20/12/2022 | |
- Começa 16/05/2022 | |
- Nas viagens estão liberadas | |
- Cada pessoa irá falar suas metas de comidas e exercícios | |
- Punição: 3 meses sem steam | |
- Limite de 1 refeição livre (fora das metas) por semana |
This file contains 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
use zmq; | |
static BYTES: usize = 1_000_000; | |
static META: &str = "meta"; | |
fn main() { | |
let qtd = 2000; | |
let info: Vec<u8> = vec![0; BYTES]; | |
let meta = META; | |
let mut result = Vec::new(); |
This file contains 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
use std::ops::Deref; | |
use zmq::{self, SocketType}; | |
static BYTES: usize = 1_000_000; | |
static META1: &str = "meta1"; | |
static META2: &str = "meta2"; | |
fn main() { | |
let mut count = 0; | |
{ | |
let ctx = zmq::Context::new(); |