Wrong Answer
In file included from /nix/gcc-13.3.0/include/c++/13.3.0/algorithm:60,
from stdc++.h:51:
In function ‘const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = long long int]’,
inlined from ‘int main()’ at foo.cc:28:18:
/nix/gcc-13.3.0/include/c++/13.3.0/bits/stl_algobase.h:262:7: warning: ‘res’ may be used uninitialized [-Wmaybe-uninitialized]
262 | if (__a < __b)
| ^~
foo.cc: In function ‘int main()’:
foo.cc:25:8: note: ‘res’ was declared here
25 | ll res, prod = items[0].a;
| ^~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1779 国王游戏
- 语言
- C++
- 递交时间
- 2025-08-27 15:02:55
- 评测时间
- 2025-08-27 15:02:55
- 评测机
- 分数
- 60
- 总耗时
- 29ms
- 峰值内存
- 764.0 KiB