/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:15: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf("%d",&n);
               ^
/in/foo.cc:7:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%I64d",(n*(n+1))/2+1);
                              ^
# 状态 耗时 内存占用
#1 Accepted 2ms 352.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Wrong Answer 4ms 256.0 KiB
#4 Accepted 2ms 372.0 KiB
#5 Wrong Answer 3ms 340.0 KiB
#6 Wrong Answer 2ms 356.0 KiB
#7 Wrong Answer 2ms 256.0 KiB
#8 Wrong Answer 2ms 340.0 KiB
#9 Wrong Answer 1ms 376.0 KiB
#10 Wrong Answer 2ms 360.0 KiB

信息

递交者
类型
递交
题目
P1324 黑皮的蛋糕
语言
C++
递交时间
2018-09-25 14:58:36
评测时间
2018-09-25 14:58:36
评测机
分数
30
总耗时
28ms
峰值内存
376.0 KiB