Skip to content

Instantly share code, notes, and snippets.

View rodrigosambadesaa's full-sized avatar

Rodrigo Sambade rodrigosambadesaa

View GitHub Profile
@rodrigosambadesaa
rodrigosambadesaa / strassen.c
Last active August 8, 2023 17:57
Algoritmo de Strassen en C con matrices aleatorias
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <time.h>
#include <math.h>
<?php
require "conexion.php";
//Selecci�n de habitaciones
if ($_SERVER['REQUEST_METHOD'] === 'GET') {
extract($_GET);
if (count($_GET) == 0) {
$where = ''; // Condici�n inicial inexistente, para devolver todas las habitaciones en caso de no recibir ning�n dato por GET
}
// B�squeda por n�mero de habitaci�n y fecha de salida. Datos enviados en el URL.