This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"context" | |
"crypto/sha256" | |
"encoding/base64" | |
"fmt" | |
"github.com/google/uuid" | |
"github.com/joho/godotenv" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func getStackTrace() string { | |
// Method stack trace | |
pc := make([]uintptr, 10) // Last traces | |
n := runtime.Callers(2, pc) // Discard first (callers) and second (this function) values | |
if n == 0 { | |
return "" | |
} | |
pc = pc[:n] // Apply some magic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let A = [3,8,2,3,3,2]; | |
let B = [7,1,2,8,2]; | |
let C = [3,1,4,1,5]; | |
let D = [5,5,5,5,5]; | |
let E = [0]; | |
let F = [1]; | |
let G = [2,2,2,1]; | |
/* @brief Obtiene el mayor número de una lsita que se repite a si mismo la misma cantidad de veces que su valor. | |
* @param list: Lista de números enteros |