Accepted

In file included from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/istream:39,
                 from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/sstream:38,
                 from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/complex:45,
                 from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.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/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.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=(m+1)/2,mid,ans;//保证pi≤qi
      |                                      ^~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 6ms 284.0 KiB
#2 Accepted 6ms 328.0 KiB
#3 Accepted 6ms 284.0 KiB
#4 Accepted 6ms 284.0 KiB
#5 Accepted 7ms 352.0 KiB
#6 Accepted 6ms 332.0 KiB
#7 Accepted 313ms 1.234 MiB
#8 Accepted 387ms 2.145 MiB
#9 Accepted 304ms 1.188 MiB
#10 Accepted 400ms 1.215 MiB

信息

递交者
类型
递交
题目
P2435 解密
语言
C++
递交时间
2023-05-10 17:34:32
评测时间
2023-05-10 17:34:32
评测机
分数
100
总耗时
1447ms
峰值内存
2.145 MiB