제출 #3485

#제출 시각아이디문제언어결과실행 시간메모리
3485wookayinGreat Pow! (kriii1_G)C++98
컴파일 에러
0 ms0 KiB
int main()
{
    int a,k;
        scanf("%d%d",&a,&k);
        printf("%d\n", (k==0||a%2) ? a : 1);
        return 0;
}

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

G.cpp: In function 'int main()':
G.cpp:4:27: error: 'scanf' was not declared in this scope
G.cpp:5:43: error: 'printf' was not declared in this scope