Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Correcto
|
0.004 s | 6 KBi |
#2 |
Correcto
|
0.004 s | 8 KBi |
#3 |
Correcto
|
0.004 s | 6 KBi |
#4 |
Correcto
|
0.004 s | 6 KBi |
#5 |
Correcto
|
0.007 s | 5 KBi |
#6 |
Correcto
|
0.004 s | 9 KBi |
#7 |
Correcto
|
0.006 s | 8 KBi |
#8 |
Correcto
|
0.004 s | 8 KBi |
#9 |
Correcto
|
0.004 s | 7 KBi |
#10 |
Correcto
|
0.004 s | 6 KBi |
package main import ( "bufio" "fmt" "os" "strconv" "strings" ) func main() { reader := bufio.NewReader(os.Stdin) data, _ := reader.ReadString('\n') data = strings.ReplaceAll(data, "\n", "") numbers := strings.Split(data, " ") number1, _ := strconv.ParseInt(numbers[0], 10, 64) number2, _ := strconv.ParseInt(numbers[1], 10, 64) if number1 < number2 { fmt.Println("<") } else if number1 > number2 { fmt.Println(">") } else { fmt.Println("=") } }