Compile Error
foo.cc: In function ‘int main()’:
foo.cc:12:33: error: invalid use of member function ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’ (did you forget the ‘()’ ?)
12 | for(int i=0;i<s.size;i++)
| ~~^~~~
| ()
信息
- 递交者
- 类型
- 递交
- 题目
- P2598 进制判断3级2 202309
- 语言
- C++
- 递交时间
- 2026-08-26 16:31:29
- 评测时间
- 2026-08-26 16:31:29
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes