format and u9
This commit is contained in:
parent
b8cfc80d1b
commit
f1b2a8c9ba
11 changed files with 114 additions and 84 deletions
|
@ -21,7 +21,11 @@ pub fn main() {
|
|||
|
||||
let out = fun(a, b);
|
||||
println!("{}", out);
|
||||
|
||||
let mut file = std::fs::OpenOptions::new().write(true).create(true).open("output.txt").unwrap();
|
||||
|
||||
let mut file = std::fs::OpenOptions::new()
|
||||
.write(true)
|
||||
.create(true)
|
||||
.open("output.txt")
|
||||
.unwrap();
|
||||
file.write_all(out.to_string().as_bytes()).unwrap();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue