记录详情

Accepted

In file included from /usr/include/c++/12/iostream:39,
                 from /in/foo.cc:1:
In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits<char>]',
    inlined from 'int main()' at /in/foo.cc:14:41:
/usr/include/c++/12/ostream:221:25: warning: 'money' may be used uninitialized [-Wmaybe-uninitialized]
  221 |       { return _M_insert(__f); }
      |                ~~~~~~~~~^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:10:16: note: 'money' was declared here
   10 |         double money;
      |                ^~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 476.0 KiB
#2 Accepted 2ms 464.0 KiB
#3 Accepted 2ms 504.0 KiB
#4 Accepted 2ms 476.0 KiB
#5 Accepted 2ms 468.0 KiB

信息

递交者
类型
递交
题目
P1085 xf1-8交电费
比赛
2025程序设计与竞赛作业赛第一场(整装出发)
语言
C++
递交时间
2025-09-27 18:36:16
评测时间
2025-10-03 01:46:15
评测机
分数
100
总耗时
12ms
峰值内存
504.0 KiB