제출 #16420

#제출 시각아이디문제언어결과실행 시간메모리
16420baji072일차 함수 (tutorial4)C++98
컴파일 에러
0 ms0 KiB
void solve(){
  int a,b;
  int x;
  
  b = f(0);
  x=f(1);
  
  a = x-b;
  
  Report(a,b);
  return ;
}

컴파일 시 표준 에러 (stderr) 메시지

tutorial4.cpp: In function ‘void solve()’:
tutorial4.cpp:5:10: error: ‘f’ was not declared in this scope
   b = f(0);
          ^
tutorial4.cpp:10:13: error: ‘Report’ was not declared in this scope
   Report(a,b);
             ^