trust tag

5 questions


1 answers
425 views
0
I can't do it in the tauri of Rust.

Currently, I would like to develop using tauri on Windows 11 pro, but I cannot execute it.As a procedure, I put in Microsoft build tools, put node.js in nvm-windows, ran npm create tauri-app in npm, a...

1 years ago

2 answers
431 views
0
Clause's tautology determination

Assume that Rust is given a sorted integer vector with no duplication.Are there any pairs of integers with the same absolute value?I would like to write a function called .Let's call it the is_tautolo...

1 years ago

1 answers
441 views
0
Unable to edit Rc 's T

I'd like to ask you about the following.We used Rc and RefCell to verify the operation as follows.use std::borough::BorrowMut;usestd::cell::RefCell;use std::rc::Rc;# [derive (Debug)]US>structure Test ...

1 years ago

1 answers
434 views
0
I want to load a file in DIMACS CNF format.

I'd like to load the DIMACS CNF file in Rust.If I write in Ruby, the code will be as follows, but how should I write Rust?In particular, I haven't found a function that corresponds to Ruby's scan.#Rub...

1 years ago

1 answers
457 views
0
Understanding the Behavior of Variable Constraints in Macros

The trustc version is 1.65.0.The following code has an error and cannot be compiled.Code of interest:fnmain(){ test_macro!{ 12, x, y } x+y+temp;}# [macro_export]US>macro_rules!test_macro{ ($e:expr, $...

1 years ago

© 2024 OneMinuteCode. All rights reserved.