Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Incorrecto
main.c:5:20: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat] scanf("%d %d", &a, &b); ~~ ^~ %lld main.c:5:24: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat] scanf("%d %d", &a, &b); ~~ ^~ %lld main.c:6:19: warning: format specifies type 'unsigned long' but the argument has type 'long long' [-Wformat] printf("%lu", a+b); ~~~ ^~~ %lld 3 warnings generated. |
0.005 s | 1 KBi |
#2 |
Incorrecto
main.c:5:20: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat] scanf("%d %d", &a, &b); ~~ ^~ %lld main.c:5:24: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat] scanf("%d %d", &a, &b); ~~ ^~ %lld main.c:6:19: warning: format specifies type 'unsigned long' but the argument has type 'long long' [-Wformat] printf("%lu", a+b); ~~~ ^~~ %lld 3 warnings generated. |
0.006 s | 1 KBi |
#3 |
Incorrecto
main.c:5:20: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat] scanf("%d %d", &a, &b); ~~ ^~ %lld main.c:5:24: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat] scanf("%d %d", &a, &b); ~~ ^~ %lld main.c:6:19: warning: format specifies type 'unsigned long' but the argument has type 'long long' [-Wformat] printf("%lu", a+b); ~~~ ^~~ %lld 3 warnings generated. |
0.005 s | 1 KBi |
#4 |
Incorrecto
main.c:5:20: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat] scanf("%d %d", &a, &b); ~~ ^~ %lld main.c:5:24: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat] scanf("%d %d", &a, &b); ~~ ^~ %lld main.c:6:19: warning: format specifies type 'unsigned long' but the argument has type 'long long' [-Wformat] printf("%lu", a+b); ~~~ ^~~ %lld 3 warnings generated. |
0.005 s | 1 KBi |
#5 |
Incorrecto
main.c:5:20: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat] scanf("%d %d", &a, &b); ~~ ^~ %lld main.c:5:24: warning: format specifies type 'int *' but the argument has type 'long long *' [-Wformat] scanf("%d %d", &a, &b); ~~ ^~ %lld main.c:6:19: warning: format specifies type 'unsigned long' but the argument has type 'long long' [-Wformat] printf("%lu", a+b); ~~~ ^~~ %lld 3 warnings generated. |
0.006 s | 1 KBi |
#include <stdio.h> int main(){ long long a, b; scanf("%d %d", &a, &b); printf("%lu", a+b); return 0; }