Wrong Answer
/in/foo.cc: In function 'int main()':
/in/foo.cc:7:29: warning: format '%d' expects argument of type 'int', but argument 2 has type '__gnu_cxx::__enable_if<true, double>::__type' {aka 'double'} [-Wformat=]
7 | printf("OK %d",log2(n+1));
| ~^ ~~~~~~~~~
| | |
| int __gnu_cxx::__enable_if<true, double>::__type {aka double}
| %f
信息
- 递交者
- 类型
- 递交
- 题目
- P1043 取数问题(takenumber)
- 语言
- C++
- 递交时间
- 2026-03-28 10:47:27
- 评测时间
- 2026-03-28 10:47:27
- 评测机
- 分数
- 80
- 总耗时
- 17ms
- 峰值内存
- 536.0 KiB