/ DIO /

记录详情

Accepted

/in/foo.cc: In member function 'void Data::change(std::__cxx11::string)':
/in/foo.cc:28:11: warning: statement has no effect [-Wunused-value]
   for (len; len > 8; len -= 8)
           ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:56:6: warning: unused variable 'ka' [-Wunused-variable]
  int ka = 0, kb = 0, i;
      ^~
/in/foo.cc:56:14: warning: unused variable 'kb' [-Wunused-variable]
  int ka = 0, kb = 0, i;
              ^~
/in/foo.cc:62:30: warning: iteration 49 invokes undefined behavior [-Waggressive-loop-optimizations]
   a.u[i] += b.u[i], a.u[i+1] += a.u[i] / INF, a.u[i] %= INF;
                     ~~~~~~~~~^~~~~~~~~~~~~~~
/in/foo.cc:60:16: note: within this loop
  for (i = 0; i < 50; i++)
              ~~^~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 188.0 KiB

信息

递交者
类型
自测
题目
P1000.01 在一起了的刘宝宝和老母鸡
语言
C++
递交时间
2018-11-30 21:46:27
评测时间
2018-11-30 21:46:27
评测机
分数
10
总耗时
1ms
峰值内存
188.0 KiB