From b4b9c4d739714ff380efdb9fe628ba41e61c7f3e Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sun, 3 Mar 2024 17:37:45 +0800 Subject: [PATCH] ruaaaa --- src/cacluate.rs | 5 ++--- src/evaluate/xuping/eval.rs | 3 +-- src/generate.rs | 1 + src/main.rs | 1 - 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/cacluate.rs b/src/cacluate.rs index 0c80b49..342fbba 100644 --- a/src/cacluate.rs +++ b/src/cacluate.rs @@ -1,11 +1,10 @@ - use crate::name::{Namer, TeamNamer}; use std::{io::Write, path::PathBuf}; use base16384::Base16384Utf8; -use tracing::{info, warn}; use colored::Colorize; +use tracing::{info, warn}; pub fn show_name(namer: &Namer) -> String { format!( @@ -124,4 +123,4 @@ pub fn cacl(config: CacluateConfig, id: u64, outfile: &PathBuf) { k = 0; } } -} \ No newline at end of file +} diff --git a/src/evaluate/xuping/eval.rs b/src/evaluate/xuping/eval.rs index 6d1d897..002d54c 100644 --- a/src/evaluate/xuping/eval.rs +++ b/src/evaluate/xuping/eval.rs @@ -97,8 +97,7 @@ pub fn predict_13(name: &Namer) -> f64 { } */ pub fn poly(name: &Namer) -> [f64; 1034] { let mut result = [0.0; 1034]; - - + result } diff --git a/src/generate.rs b/src/generate.rs index e69de29..8b13789 100644 --- a/src/generate.rs +++ b/src/generate.rs @@ -0,0 +1 @@ + diff --git a/src/main.rs b/src/main.rs index e3181d6..360da10 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,7 +13,6 @@ use tracing::{info, warn}; use crate::cacluate::CacluateConfig; - #[allow(non_upper_case_globals)] const allow_d: u32 = 10;