Wrong Answer

In file included from /usr/include/c++/12/istream:39,
                 from /usr/include/c++/12/sstream:38,
                 from /usr/include/c++/12/complex:45,
                 from /usr/include/c++/12/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/12/bits/stdc++.h:54,
                 from /in/foo.cc:1:
In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>]',
    inlined from 'int main()' at /in/foo.cc:27:8:
/usr/include/c++/12/ostream:202:25: warning: 'ans' may be used uninitialized [-Wmaybe-uninitialized]
  202 |       { return _M_insert(__n); }
      |                ~~~~~~~~~^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:24:10: note: 'ans' was declared here
   24 |     ll x,ans; cin>>x;
      |          ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 476.0 KiB
#2 Wrong Answer 2ms 536.0 KiB
#3 Wrong Answer 2ms 484.0 KiB
#4 Wrong Answer 2ms 476.0 KiB
#5 Wrong Answer 2ms 512.0 KiB
#6 Wrong Answer 2ms 496.0 KiB
#7 Wrong Answer 2ms 556.0 KiB
#8 Wrong Answer 2ms 564.0 KiB
#9 Wrong Answer 2ms 436.0 KiB
#10 Wrong Answer 1ms 340.0 KiB

信息

递交者
类型
递交
题目
P1490 回文数专题:回文数个数
语言
C++
递交时间
2025-10-08 06:29:01
评测时间
2025-10-08 06:29:01
评测机
分数
0
总耗时
22ms
峰值内存
564.0 KiB