답안 #100332

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
100332 2019-03-10T12:00:16 Z CloneOfTeacher 일차 함수 (tutorial4) C++17
컴파일 오류
0 ms 0 KB
void solve()
{
	int a, b;
	b = f(0);
	a = f(1) - b;
	Report(a, b);
}

Compilation message

tutorial4.cpp: In function 'void solve()':
tutorial4.cpp:4:6: error: 'f' was not declared in this scope
  b = f(0);
      ^
tutorial4.cpp:6:2: error: 'Report' was not declared in this scope
  Report(a, b);
  ^~~~~~
tutorial4.cpp:6:2: note: suggested alternative: 'short'
  Report(a, b);
  ^~~~~~
  short