记录详情

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

信息

递交者
类型
自测
题目
P1019 contest1-4 超市促销活动
语言
C++
递交时间
2026-11-13 20:37:46
评测时间
2026-11-13 20:37:46
评测机
分数
0
总耗时
6ms
峰值内存
532.0 KiB