记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:10: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
    if (s % k == 0)
        ~~^~~
/in/foo.cc: In function 'long long int sum(long long int, long long int, long long int*)':
/in/foo.cc:28:9: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return s;
         ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 416.0 KiB
#2 Accepted 1ms 340.0 KiB
#3 Time Exceeded ≥1001ms ≥344.0 KiB
#4 Time Exceeded ≥1002ms ≥388.0 KiB
#5 Runtime Error 29ms 812.0 KiB
#6 Runtime Error 27ms 820.0 KiB

信息

递交者
类型
递交
题目
P1306 C. Multiple of k
比赛
2021年互联网创新创业科技节程序设计大赛
语言
C++
递交时间
2021-12-23 19:10:52
评测时间
2021-12-23 19:10:52
评测机
分数
25
总耗时
2064ms
峰值内存
820.0 KiB