0_0_23194852_20128.cpp:47:9: error: redefinition of 'int a [15]'
int a[15];
^
0_0_23194852_20128.cpp:7:5: note: 'int a [15]' previously declared here
int a[15];
^
0_0_23194852_20128.cpp:48:5: error: redefinition of 'int sum'
int sum, n;
^
0_0_23194852_20128.cpp:8:5: note: 'int sum' previously declared here
int sum, n;
^
0_0_23194852_20128.cpp:48:10: error: redefinition of 'int n'
int sum, n;
^
0_0_23194852_20128.cpp:8:10: note: 'int n' previously declared here
int sum, n;
^
0_0_23194852_20128.cpp: In function 'void solve()':
0_0_23194852_20128.cpp:50:7: error: redefinition of 'void solve()'
void solve() {
^
0_0_23194852_20128.cpp:10:7: note: 'void solve()' previously defined here
void solve() {
^
0_0_23194852_20128.cpp: In function 'int main()':
0_0_23194852_20128.cpp:68:5: error: redefinition of 'int main()'
int main() {
^
0_0_23194852_20128.cpp:28:5: note: 'int main()' previously defined here
int main() {
^
|