0_0_11508732_5901.cpp: In function `int spfa(int, int)': 0_0_11508732_5901.cpp:25: error: `i' undeclared (first use this function) 0_0_11508732_5901.cpp:25: error: (Each undeclared identifier is reported only once for each function it appears in.)