답안 #14584

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
14584 2015-05-20T09:48:31 Z moonrabbit2 일차 함수 (tutorial4) C++
컴파일 오류
0 ms 0 KB
void solve()
{
    int a=f(0),b=f(1);
    report(a,b-a);
    return;
}

Compilation message

tutorial4.cpp: In function ‘void solve()’:
tutorial4.cpp:3:14: error: ‘f’ was not declared in this scope
     int a=f(0),b=f(1);
              ^
tutorial4.cpp:4:14: error: ‘b’ was not declared in this scope
     report(a,b-a);
              ^
tutorial4.cpp:4:17: error: ‘report’ was not declared in this scope
     report(a,b-a);
                 ^