../programs/61613.cpp: In function 'int findShortestRepeatingLength(const std::string&)': ../programs/61613.cpp:59: error: a function-definition is not allowed here before ':' token ../programs/61613.cpp:84: error: expected primary-expression at end of input ../programs/61613.cpp:84: error: expected `;' at end of input ../programs/61613.cpp:84: error: expected primary-expression at end of input ../programs/61613.cpp:84: error: expected `)' at end of input ../programs/61613.cpp:84: error: expected statement at end of input ../programs/61613.cpp:58: warning: unused variable 'shortestLength' ../programs/61613.cpp:84: error: expected `}' at end of input
|