记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:6:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
  scanf("%d %d",&a,&b);
          ^
/in/foo.c:6:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
  scanf("%d %d",&a,&b);
             ^
/in/foo.c:8:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%d+%d=%d\n",a,b,a+b);
           ^
/in/foo.c:8:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
  printf("%d+%d=%d\n",a,b,a+b);
              ^
/in/foo.c:8:17: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
  printf("%d+%d=%d\n",a,b,a+b);
                 ^
/in/foo.c:9:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%d-%d=%d\n",a,b,a-b);
           ^
/in/foo.c:9:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
  printf("%d-%d=%d\n",a,b,a-b);
              ^
/in/foo.c:9:17: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
  printf("%d-%d=%d\n",a,b,a-b);
                 ^
/in/foo.c:10:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%d*%d=%d\n",a,b,a*b);
           ^
/in/foo.c:10:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
  printf("%d*%d=%d\n",a,b,a*b);
              ^
/in/foo.c:10:17: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
  printf("%d*%d=%d\n",a,b,a*b);
                 ^
/in/foo.c:11:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%d/%d=%.2f\n",a,b,c);
           ^
/in/foo.c:11:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
  printf("%d/%d=%.2f\n",a,b,c);
              ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 204.0 KiB
#2 Wrong Answer 0ms 212.0 KiB
#3 Wrong Answer 0ms 216.0 KiB
#4 Wrong Answer 1ms 208.0 KiB
#5 Wrong Answer 0ms 204.0 KiB

信息

递交者
类型
递交
题目
四则计算器
语言
C
递交时间
2019-05-14 12:41:47
评测时间
2019-05-14 12:41:47
评测机
分数
0
总耗时
4ms
峰值内存
216.0 KiB