diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b6958977..e69312db 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -51,9 +51,9 @@ jobs: - name: c language: c-cpp build-mode: manual - - name: cpp - language: c-cpp - build-mode: manual + # - name: cpp + # language: c-cpp + # build-mode: manual - name: csharp language: csharp build-mode: none diff --git a/rust/src/p0014.rs b/rust/src/p0014.rs index e498f8ee..ccac5bce 100644 --- a/rust/src/p0014.rs +++ b/rust/src/p0014.rs @@ -42,7 +42,7 @@ fn collatz_len(n: u64, cache: &mut HashMap) -> u64 { } } -pub fn main() { +pub fn p0014() -> i128 { let mut biggest_seen: u64 = 0; let mut biggest_idx: u64 = 0; let mut cache: HashMap = HashMap::new();