0_0_15548829_9933.cpp: In function 'int spfa()': 0_0_15548829_9933.cpp:53:19: error: 'class std::stack<int>' has no member named 'front' int top=q.front(); ^