0_0_28661654_3761.cpp: In function 'int main()':
0_0_28661654_3761.cpp:13:9: error: 'll' was not declared in this scope
ll cnt = 0;
^
0_0_28661654_3761.cpp:14:12: error: expected ';' before 'sum'
ll sum = 0;
^
0_0_28661654_3761.cpp:18:17: error: 'cnt' was not declared in this scope
cnt++;
^
0_0_28661654_3761.cpp:20:13: error: 'sum' was not declared in this scope
sum += a[i];
^
0_0_28661654_3761.cpp:22:13: error: 'cnt' was not declared in this scope
if(!cnt){
^
0_0_28661654_3761.cpp:23:28: error: 'sum' was not declared in this scope
printf("%d\n", sum);
^
0_0_28661654_3761.cpp:26:9: error: 'sum' was not declared in this scope
sum = (sum - cnt) / 2;
^
0_0_28661654_3761.cpp:26:22: error: 'cnt' was not declared in this scope
sum = (sum - cnt) / 2;
^
|