QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#248187#7620. Yet Another Subsequence Problemucup-team159#Compile Error//C++2043.3kb2023-11-11 17:48:182023-11-11 17:48:18

詳細信息

template/template.hpp:102:9: error: expected unqualified-id before ‘for’
template/template.hpp:103:9: error: expected unqualified-id before ‘return’
template/template.hpp:104:6: error: expected ‘;’ after struct definition
template/template.hpp:106:10: error: variable or field ‘go_left’ declared void
template/template.hpp:106:18: error: ‘Int’ was not declared in this scope; did you mean ‘int’?
template/template.hpp:114:10: error: variable or field ‘go_right’ declared void
template/template.hpp:114:19: error: ‘Int’ was not declared in this scope; did you mean ‘int’?
template/template.hpp:123:20: error: ‘Int’ was not declared in this scope; did you mean ‘int’?
template/template.hpp:144:12: error: ‘Node’ does not name a type
template/template.hpp:155:5: error: ‘friend’ used outside of class
template/template.hpp:155:51: error: ‘Node’ does not name a type
template/template.hpp: In function ‘std::ostream& operator<<(std::ostream&, const int&)’:
template/template.hpp:157:31: error: request for member ‘lx’ in ‘rhs’, which is of non-class type ‘const int’
template/template.hpp:157:49: error: request for member ‘ly’ in ‘rhs’, which is of non-class type ‘const int’
template/template.hpp:158:31: error: request for member ‘x’ in ‘rhs’, which is of non-class type ‘const int’
template/template.hpp:158:48: error: request for member ‘y’ in ‘rhs’, which is of non-class type ‘const int’
template/template.hpp:159:31: error: request for member ‘rx’ in ‘rhs’, which is of non-class type ‘const int’
template/template.hpp:159:49: error: request for member ‘ry’ in ‘rhs’, which is of non-class type ‘const int’
template/template.hpp:160:31: error: request for member ‘seq’ in ‘rhs’, which is of non-class type ‘const int’
template/template.hpp: At global scope:
template/template.hpp:163:5: error: ‘friend’ used outside of class
template/template.hpp:163:33: error: ‘Node’ does not name a type
template/template.hpp:163:50: error: ‘Node’ does not name a type
template/template.hpp:163:17: error: ‘bool operator<(const int&, const int&)’ must have an argument of class or enumerated type
template/template.hpp:166:5: error: ‘friend’ used outside of class
template/template.hpp:166:34: error: ‘Node’ does not name a type
template/template.hpp:166:51: error: ‘Node’ does not name a type
template/template.hpp:166:17: error: ‘bool operator==(const int&, const int&)’ must have an argument of class or enumerated type
template/template.hpp:169:1: error: expected declaration before ‘}’ token