Submission #3485

#TimeUsernameProblemLanguageResultExecution timeMemory
3485wookayinGreat Pow! (kriii1_G)C++98
Compilation error
0 ms0 KiB
int main()
{
    int a,k;
        scanf("%d%d",&a,&k);
        printf("%d\n", (k==0||a%2) ? a : 1);
        return 0;
}

Compilation message (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