/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'bool two(std::__cxx11::string, int)':
/in/foo.cc:15:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(i==s.length()-1) {
     ~^~~~~~~~~~~~~~
/in/foo.cc: In function 'bool one(std::__cxx11::string, int)':
/in/foo.cc:24:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(i==s.length()-1) {
     ~^~~~~~~~~~~~~~
/in/foo.cc: In function 'SuanShi huajian(std::__cxx11::string)':
/in/foo.cc:98:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0; i<s.length(); i++) {
               ~^~~~~~~~~~~
/in/foo.cc:108:45: error: 'tap' was not declared in this scope
      q.two.push_back(tap(p,yudeng,pushone,fu));
                                             ^
/in/foo.cc:110:45: error: 'tap' was not declared in this scope
      q.one.push_back(tap(p,yudeng,pushone,fu));
                                             ^
/in/foo.cc:112:38: error: 'tap' was not declared in this scope
      q.zero.push_back(tap(p,yudeng,fu));
                                      ^
/in/foo.cc:135:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(yudeng=0) {
              ^
/in/foo.cc:91:6: warning: unused variable 'a' [-Wunused-variable]
  int a=0;
      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:156:10: warning: unused variable 'item' [-Wunused-variable]
  for(int item: m.two) {
          ^~~~
/in/foo.cc:160:10: warning: unused variable 'item' [-Wunused-variable]
  for(int item: m.one) {
          ^~~~
/in/foo.cc:164:10: warning: unused variable 'item' [-Wunused-variable]
  for(int item: m.zero) {
          ^~~~

信息

递交者
类型
递交
题目
P1646 难题?水题?
语言
C++
递交时间
2019-07-30 11:34:47
评测时间
2019-07-30 11:34:47
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes