0_0_29476141_21152.cpp:3:22: error: 'string' has not been declared
int ladderLength(string start, string end, unordered_set<string> &dict) {
^
0_0_29476141_21152.cpp:3:36: error: 'string' has not been declared
int ladderLength(string start, string end, unordered_set<string> &dict) {
^
0_0_29476141_21152.cpp:3:48: error: 'unordered_set' has not been declared
int ladderLength(string start, string end, unordered_set<string> &dict) {
^
0_0_29476141_21152.cpp:3:61: error: expected ',' or '...' before '<' token
int ladderLength(string start, string end, unordered_set<string> &dict) {
^
0_0_29476141_21152.cpp: In member function 'int Solution::ladderLength(int, int, int)':
0_0_29476141_21152.cpp:7:9: error: 'queue' was not declared in this scope
queue<string> Q;
^
0_0_29476141_21152.cpp:7:15: error: 'string' was not declared in this scope
queue<string> Q;
^
0_0_29476141_21152.cpp:7:23: error: 'Q' was not declared in this scope
queue<string> Q;
^
0_0_29476141_21152.cpp:12:20: error: expected ';' before 'str'
string str = Q.front();
^
0_0_29476141_21152.cpp:14:16: error: 'str' was not declared in this scope
if(str != "")
^
0_0_29476141_21152.cpp:25:28: error: 'dict' was not declared in this scope
if(dict.find(str) != dict.end())
^
|