记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:21:21: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
  printf("%lld",total);
                     ^
/in/foo.cc:29:9: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return s;
         ^
/in/foo.cc:26:16: note: 's' was declared here
  long long int s;
                ^
/in/foo.cc: In function 'int sum(int, int, int*)':
/in/foo.cc:29:9: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return s;
         ^
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 380.0 KiB

信息

递交者
类型
自测
题目
P1306 C. Multiple of k
语言
C++
递交时间
2021-12-23 19:02:26
评测时间
2021-12-23 19:02:28
评测机
分数
0
总耗时
2ms
峰值内存
380.0 KiB