제출 #19223

#제출 시각아이디문제언어결과실행 시간메모리
19223LK149일차 함수 (tutorial4)C++98
컴파일 에러
0 ms0 KiB
#include "grader.h" void solve() { B=f(0); A=f(1)-B; Report(A,B); }

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

tutorial4.cpp: In function ‘void solve()’:
tutorial4.cpp:4:2: error: ‘B’ was not declared in this scope
  B=f(0);
  ^
tutorial4.cpp:5:2: error: ‘A’ was not declared in this scope
  A=f(1)-B;
  ^