/ WHOJ /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:5:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf("%d%d",&x,&y);
                    ^
/in/foo.cc:5:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:6:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%d",x+y);
                 ^
# 状态 耗时 内存占用
#1 Accepted 2ms 432.0 KiB
#2 Accepted 1ms 360.0 KiB

信息

递交者
类型
自测
题目
P1036 A+B Problem
语言
C++
递交时间
2023-09-29 19:29:08
评测时间
2023-09-29 19:29:08
评测机
分数
20
总耗时
3ms
峰值内存
432.0 KiB