/ LZOJ /

记录详情

Accepted

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

信息

递交者
类型
递交
题目
P1000 A+B problem
语言
C++
递交时间
2020-06-05 20:15:17
评测时间
2020-06-05 20:15:17
评测机
分数
10
总耗时
2ms
峰值内存
224.0 KiB