记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:5:16: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'char*' [-Wformat=]
  scanf("%ld",&f);
              ~~^
/in/foo.cc:10:16: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
  printf("%ld",x);
                ^
# 状态 耗时 内存占用
#1 Accepted 3ms 316.0 KiB
#2 Wrong Answer 3ms 316.0 KiB
#3 Wrong Answer 2ms 316.0 KiB
#4 Wrong Answer 2ms 316.0 KiB
#5 Wrong Answer 2ms 324.0 KiB
#6 Wrong Answer 2ms 312.0 KiB

信息

递交者
类型
递交
题目
求n累加和
题目数据
下载
语言
C++
递交时间
2017-09-14 20:22:16
评测时间
2017-09-14 20:22:16
评测机
分数
15
总耗时
16ms
峰值内存
324.0 KiB