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