CB100

Notas, resueltos y tps de la materia Algoritmos y Estructuras de Datos
Index Commits Files Refs README
commit cef1171115e89159e5ab0e2928eab4e6d6780250
parent 8589d91e74f787ea0ae6a54ffd71bbe723b1d68e
Author: Martin Kloeckner <mjkloeckner@gmail.com>
Date:   Wed,  3 Apr 2024 20:41:19 -0300

Fix execution time cast format

Diffstat:
Mtps/1/primos.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tps/1/primos.cpp b/tps/1/primos.cpp
@@ -53,7 +53,7 @@ int main (void) {
     vectorExportToFilePath(numeros, fp, primesFound);
     fp.close();
 
-    tt = (double(clock() - ti)) / CLOCKS_PER_SEC;
+    tt = (double)(clock() - ti) / CLOCKS_PER_SEC;
 
     std::cout.precision(2);
     std::string tUnit = "segundos";