记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:7: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:7: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\n",c);
           ^
/in/foo.c:6:5: warning: 'a' is used uninitialized in this function [-Wuninitialized]
  c=a+b;
    ~^~
/in/foo.c:6:5: warning: 'b' is used uninitialized in this function [-Wuninitialized]
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 204.0 KiB

信息

递交者
类型
自测
题目
欢迎来到南师大计算机学院OnlineJudge!
语言
C
递交时间
2019-10-02 08:06:38
评测时间
2019-10-02 08:06:38
评测机
分数
0
总耗时
1ms
峰值内存
204.0 KiB