본문 바로가기

에러 기록

error: invalid suffix 'n' on integer constant

변수에 정수곱을 할 때 *를 쓰지 않고 수학적으로 수식을 작성해서 발생한 오류이다. * 연산자를 써주면 된다.