0_0_38532815_7083.cpp: In function 'int main()':
0_0_38532815_7083.cpp:10:10: error: 's' was not declared in this scope
memset(s, 0, sizeof(s));
^
0_0_38532815_7083.cpp:11:23: error: overloaded function with no contextual type information
int sum = max = min = 0;
^
0_0_38532815_7083.cpp:20:18: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator-'
int ans = (sum-max-min) / (n-2);
^
|