█████████ ████ ███░░░░░███ ░░███ ███ ░░░ ██████ ███████ ██████ ██████ ░███ ███░░███ ███░░███ ███░░███ ███░░███ ░███ ░███ ░███░███ ░███ ░███████ ░███ ░███ ░░███ ███░███ ░███░███ ░███ ░███░░░ ░███ ░███ ░░█████████ ░░██████ ░░████████░░██████ ░░██████ ░░░░░░░░░ ░░░░░░ ░░░░░░░░ ░░░░░░ ░░░░░░

Envío 6954

Problema 0x60 - ¿Mayor, menor o igual?

  • Autor: darkitxu84
  • Fecha: 2023-04-06 00:55:07 UTC (Hace 2 meses)
Caso # Resultado Tiempo Memoria
#1
Correcto
0.004 s 1 KBi
#2
Correcto
0.005 s 1 KBi
#3
Correcto
0.005 s 1 KBi
#4
Correcto
0.004 s 5 KBi
#5
Correcto
0.005 s 1 KBi
#6
Correcto
0.005 s 1 KBi
#7
Correcto
0.005 s 1 KBi
#8
Correcto
0.005 s 1 KBi
#9
Correcto
0.005 s 1 KBi
#10
Correcto
0.005 s 0 KBi
Puntos totales: 100 / 100

Código

#include <iostream>
using namespace std;

int main(int argc, char** argv) {
	int x = 0, y = 0;
	cin >> x >> y;
	if (x > y) cout << ">";
	else if (x < y) cout << "<";
	else cout << "=";
	return 0;
}