0_0_16393788_20536.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16393788_20536.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16393788_20536.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16393788_20536.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16393788_20536.cpp: In function 'int main()':
0_0_16393788_20536.cpp:13:21: error: 'scanf' was not declared in this scope
scanf("%d", &cas);
^
0_0_16393788_20536.cpp:19:9: error: expected ';' before 'scanf'
scanf("%I64d", &arr[i]);
^
0_0_16393788_20536.cpp:19:32: error: expected ')' before ';' token
scanf("%I64d", &arr[i]);
^
0_0_16393788_20536.cpp:22:9: error: expected ';' before 'if'
if (arr[i] == 1)
^
0_0_16393788_20536.cpp:22:9: error: expected primary-expression before 'if'
0_0_16393788_20536.cpp:22:9: error: expected ')' before 'if'
0_0_16393788_20536.cpp:24:17: error: 'i' was not declared in this scope
if (arr[i] != 1) {
^
0_0_16393788_20536.cpp:29:9: error: 'cnt' was not declared in this scope
if (cnt % 2 == 0) {
^
0_0_16393788_20536.cpp:30:13: error: 'flag' was not declared in this scope
if (flag)
^
0_0_16393788_20536.cpp:31:22: error: 'printf' was not declared in this scope
printf("No\n");
^
0_0_16393788_20536.cpp:33:23: error: 'printf' was not declared in this scope
printf("Yes\n");
^
0_0_16393788_20536.cpp:36:13: error: 'flag' was not declared in this scope
if (flag)
^
0_0_16393788_20536.cpp:37:23: error: 'printf' was not declared in this scope
printf("Yes\n");
^
0_0_16393788_20536.cpp:39:22: error: 'printf' was not declared in this scope
printf("No\n");
^
0_0_16393788_20536.cpp: At global scope:
0_0_16393788_20536.cpp:42:1: error: expected unqualified-id before 'return'
return 0;
^
0_0_16393788_20536.cpp:43:1: error: expected declaration before '}' token
}
^
|