95.11

Apuntes y resueltos de la materia Algoritmos y Programación (95.11)
Index Commits Files Refs README
commit a98e6a08f23e1c2b613b9ccd0167fca4754283b0
parent 3f5c4a46dd69b318875f9aca74233a1fcbb8d37d
Author: Martin Klöckner <mjkloeckner@gmail.com>
Date:   Tue, 30 Apr 2024 20:18:29 -0300

remove duplicated file

Diffstat:
Dguias/guia10/:w | 22----------------------
1 file changed, 0 insertions(+), 22 deletions(-)
diff --git a/guias/guia10/:w b/guias/guia10/:w
@@ -1,22 +0,0 @@
-#include <stdio.h>
-
-int dot_product(int *v1, int *v2, size_t j);
-
-int main (void)
-{
-    int v1[3] = { 1,2,3 };
-    int v2[3] = { 1,2,3 };
-    printf("%d\n", dot_product(v1,v2,3));
-    return 0;
-}
-
-int dot_m(int *v1, int *v2, size_t index)
-{
-    if(index == 0) return v1[0] * v2[0];
-    return v1[index] * v2[index] + dot_product(v1, v2, index - 1);
-}
-
-int dot_product(int *v1, int *v2, size_t index)
-{
-    return !index ? v1[0] * v2[0]: v1[l] * v2[l] + dot_product((v1, v2, l - 1);
-}