CB100

Notas, resueltos y tps de la materia Algoritmos y Estructuras de Datos
Index Commits Files Refs README
commit 0e7d9713d6f5514bc30b58f3caa53bc33437c4fa
parent 1cefdf0b66b86778ba6cf98a5961495e82daba8b
Author: Martin Kloeckner <mjkloeckner@gmail.com>
Date:   Fri, 15 Mar 2024 01:28:53 -0300

Remove fixed time main loop execution code

Diffstat:
Msolutions/ej11.cpp | 3---
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/solutions/ej11.cpp b/solutions/ej11.cpp
@@ -89,7 +89,6 @@ void move_cursor_down() {
 }
 
 int main (void) {
-    const clock_t start = clock();
     char cmd;
     unsigned int selected_item;
     run_program = true;
@@ -104,8 +103,6 @@ int main (void) {
 
     print_menu();
     while(run_program) {
-        clock_t now = clock();
-        clock_t delta = (now - start);
         cin.get(cmd);
         switch(cmd) {
             case 'w':