记录详情

Wrong Answer

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:13:35:
/usr/include/c++/12/ostream:221:25: warning: 's' may be used uninitialized [-Wmaybe-uninitialized]
  221 |       { return _M_insert(__f); }
      |                ~~~~~~~~~^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:7:18: note: 's' was declared here
    7 |     double a,m,k,s;
      |                  ^
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 500.0 KiB
#2 Wrong Answer 2ms 476.0 KiB
#3 Wrong Answer 2ms 440.0 KiB
#4 Wrong Answer 2ms 480.0 KiB
#5 Wrong Answer 1ms 532.0 KiB

信息

递交者
类型
递交
题目
P1085 xf1-8交电费
比赛
2025程序设计与竞赛作业赛第一场(整装出发)
语言
C++
递交时间
2025-09-27 18:43:22
评测时间
2025-10-03 02:04:32
评测机
分数
0
总耗时
11ms
峰值内存
532.0 KiB