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

Envío 527

Problema 0x60 - ¿Mayor, menor o igual?

Caso # Resultado Tiempo Memoria
#1
Correcto
                      main.c:7:21: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
               ~~~~        ^~~
               %d
main.c:7:26: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
                    ~~~~        ^~~
                    %d
2 warnings generated.

                    
0.004 s 4 KBi
#2
Incorrecto
                      main.c:7:21: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
               ~~~~        ^~~
               %d
main.c:7:26: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
                    ~~~~        ^~~
                    %d
2 warnings generated.

                    
0.004 s 1 KBi
#3
Incorrecto
                      main.c:7:21: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
               ~~~~        ^~~
               %d
main.c:7:26: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
                    ~~~~        ^~~
                    %d
2 warnings generated.

                    
0.004 s 1 KBi
#4
Incorrecto
                      main.c:7:21: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
               ~~~~        ^~~
               %d
main.c:7:26: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
                    ~~~~        ^~~
                    %d
2 warnings generated.

                    
0.004 s 1 KBi
#5
Incorrecto
                      main.c:7:21: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
               ~~~~        ^~~
               %d
main.c:7:26: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
                    ~~~~        ^~~
                    %d
2 warnings generated.

                    
0.004 s 2 KBi
#6
Incorrecto
                      main.c:7:21: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
               ~~~~        ^~~
               %d
main.c:7:26: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
                    ~~~~        ^~~
                    %d
2 warnings generated.

                    
0.004 s 1 KBi
#7
Correcto
                      main.c:7:21: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
               ~~~~        ^~~
               %d
main.c:7:26: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
                    ~~~~        ^~~
                    %d
2 warnings generated.

                    
0.004 s 1 KBi
#8
Incorrecto
                      main.c:7:21: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
               ~~~~        ^~~
               %d
main.c:7:26: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
                    ~~~~        ^~~
                    %d
2 warnings generated.

                    
0.004 s 1 KBi
#9
Correcto
                      main.c:7:21: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
               ~~~~        ^~~
               %d
main.c:7:26: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
                    ~~~~        ^~~
                    %d
2 warnings generated.

                    
0.004 s 1 KBi
#10
Incorrecto
                      main.c:7:21: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
               ~~~~        ^~~
               %d
main.c:7:26: warning: format specifies type 'long long *' but the argument has type 'int *' [-Wformat]
        scanf("%lld %lld", &n1, &n2);
                    ~~~~        ^~~
                    %d
2 warnings generated.

                    
0.004 s 1 KBi
Puntos totales: 30 / 100

Código

#include <stdio.h>

int main(void)
{
	int n1 = 0, n2 = 0;

	scanf("%lld %lld", &n1, &n2);

	if (n1 < n2)
	{
		printf("<\n");
	}
	else if (n1 > n2)
	{
		printf(">\n");
	}
	else
	{
		printf("=\n");
	}

	return (0);
}