/ Vijos /

记录详情

Accepted

In file included from /nix/gcc-13.2.0/include/c++/13.2.0/istream:41,
                 from /nix/gcc-13.2.0/include/c++/13.2.0/sstream:40,
                 from /nix/gcc-13.2.0/include/c++/13.2.0/complex:45,
                 from /nix/gcc-13.2.0/include/c++/13.2.0/ccomplex:39,
                 from stdc++.h:127:
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:41:13:
/nix/gcc-13.2.0/include/c++/13.2.0/ostream:204:25: warning: ‘xans’ may be used uninitialized [-Wmaybe-uninitialized]
  204 |       { return _M_insert(__n); }
      |                ~~~~~~~~~^~~~~
foo.cc: In function ‘int main()’:
foo.cc:22:9: note: ‘xans’ was declared here
   22 |     int xans, yans;
      |         ^~~~
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:41:28:
/nix/gcc-13.2.0/include/c++/13.2.0/ostream:204:25: warning: ‘yans’ may be used uninitialized [-Wmaybe-uninitialized]
  204 |       { return _M_insert(__n); }
      |                ~~~~~~~~~^~~~~
foo.cc: In function ‘int main()’:
foo.cc:22:15: note: ‘yans’ was declared here
   22 |     int xans, yans;
      |               ^~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 536.0 KiB
#2 Accepted 3ms 580.0 KiB
#3 Accepted 2ms 580.0 KiB
#4 Accepted 4ms 764.0 KiB
#5 Accepted 6ms 536.0 KiB
#6 Accepted 17ms 1.246 MiB
#7 Accepted 33ms 1.629 MiB
#8 Accepted 50ms 2.375 MiB
#9 Accepted 66ms 2.84 MiB
#10 Accepted 83ms 3.438 MiB

信息

递交者
类型
递交
题目
P1036 安装服务器
语言
C++
递交时间
2024-05-05 12:09:52
评测时间
2024-05-05 12:09:52
评测机
分数
100
总耗时
271ms
峰值内存
3.438 MiB