Judge Information

Run ID: 31222
src.cpp:2:1: error: 'queue' does not name a type
queue <int> s;
^
src.cpp: In function 'void nhap()':
src.cpp:8:9: error: 'cin' was not declared in this scope
cin>>x>>y;
^
src.cpp: In function 'void bfs()':
src.cpp:15:5: error: 'queue' was not declared in this scope
queue <int> q;
^
src.cpp:15:12: error: expected primary-expression before 'int'
queue <int> q;
^
src.cpp:17:1: error: 's' was not declared in this scope
s.push(k);
^
src.cpp:18:1: error: 'q' was not declared in this scope
q.push(k);
^
src.cpp: In function 'int main()':
src.cpp:37:5: error: 'ios_base' has not been declared
ios_base:: sync_with_stdio(0); cin.tie; cout.tie(0);
^
src.cpp:37:36: error: 'cin' was not declared in this scope
ios_base:: sync_with_stdio(0); cin.tie; cout.tie(0);
^
src.cpp:37:45: error: 'cout' was not declared in this scope
ios_base:: sync_with_stdio(0); cin.tie; cout.tie(0);
^
src.cpp:38:34: error: 'stdin' was not declared in this scope
freopen ("TINNHAN.INP", "r", stdin);
^
src.cpp:38:39: error: 'freopen' was not declared in this scope
freopen ("TINNHAN.INP", "r", stdin);
^
src.cpp:39:33: error: 'stdout' was not declared in this scope
freopen("TINNHAN.OUT" ,"w", stdout);
^