/ Vijos /

记录详情

Compile Error

/in/foo.cc:63:24: error: enclosing class of constexpr non-static member function 'bool algo::IO::isDigit(char) const' is not a literal type
         constexpr bool isDigit(const char c) const
                        ^~~~~~~
/in/foo.cc:30:11: note: 'algo::IO' is not literal because:
     class IO
           ^~
/in/foo.cc:30:11: note:   'algo::IO' has a non-trivial destructor
/in/foo.cc:68:24: error: enclosing class of constexpr non-static member function 'bool algo::IO::isDotOrDigit(char) const' is not a literal type
         constexpr bool isDotOrDigit(const char c) const
                        ^~~~~~~~~~~~
/in/foo.cc: In function 'void load()':
/in/foo.cc:196:13: warning: unused variable 'l' [-Wunused-variable]
         int l, r;
             ^
/in/foo.cc:196:16: warning: unused variable 'r' [-Wunused-variable]
         int l, r;
                ^

信息

递交者
类型
自测
题目
P1779 国王游戏
语言
C++
递交时间
2024-04-11 17:37:12
评测时间
2024-04-11 17:37:12
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes