0_0_13805196_12872.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13805196_12872.cpp: In function 'int main()':
0_0_13805196_12872.cpp:17:18: error: 'scanf' was not declared in this scope
scanf("%d",&k);
^
0_0_13805196_12872.cpp:19:9: error: expected ';' before 'scanf'
scanf("%d%d",&n,&m);
^
0_0_13805196_12872.cpp:19:28: error: expected ')' before ';' token
scanf("%d%d",&n,&m);
^
0_0_13805196_12872.cpp:20:53: error: 'printf' was not declared in this scope
printf("%s\n", gcd(n, m) == 1 ? "NO" : "YES");
^
0_0_13805196_12872.cpp: At global scope:
0_0_13805196_12872.cpp:22:5: error: expected unqualified-id before 'return'
return 0;
^
0_0_13805196_12872.cpp:23:1: error: expected declaration before '}' token
}
^
|