Accepted

In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/istream:39,
                 from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/sstream:38,
                 from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/complex:45,
                 from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/ccomplex:39,
                 from stdc++.h:54:
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 foo.cc:22:10:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/ostream:202:25: warning: 'ans' may be used uninitialized [-Wmaybe-uninitialized]
  202 |       { return _M_insert(__n); }
      |                ~~~~~~~~~^~~~~
foo.cc: In function 'int main()':
foo.cc:12:38: note: 'ans' was declared here
   12 |                 ll l=1,r=(x+1)/2,mid,ans;//保证pi≤qi
      |                                      ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 8ms 412.0 KiB
#2 Accepted 8ms 412.0 KiB
#3 Accepted 8ms 412.0 KiB
#4 Accepted 8ms 412.0 KiB
#5 Accepted 8ms 424.0 KiB
#6 Accepted 8ms 412.0 KiB
#7 Accepted 347ms 1.398 MiB
#8 Accepted 412ms 2.137 MiB
#9 Accepted 291ms 1.25 MiB
#10 Accepted 384ms 1.27 MiB

信息

递交者
类型
递交
题目
P2435 解密
语言
C++
递交时间
2023-08-12 10:12:36
评测时间
2023-08-12 10:12:36
评测机
分数
100
总耗时
1487ms
峰值内存
2.137 MiB