0_0_38218308_2842.cpp:56:2: error: stray '#' in program
}#include<iostream>
^
0_0_38218308_2842.cpp: In function 'void solve()':
0_0_38218308_2842.cpp:13:23: error: 'memset' was not declared in this scope
memset(a,0,sizeof(a));
^
0_0_38218308_2842.cpp: At global scope:
0_0_38218308_2842.cpp:56:3: error: 'include' does not name a type
}#include<iostream>
^
0_0_38218308_2842.cpp:61:9: error: redefinition of 'int a [30]'
int a[30];
^
0_0_38218308_2842.cpp:6:5: note: 'int a [30]' previously declared here
int a[30];
^
0_0_38218308_2842.cpp: In function 'void solve()':
0_0_38218308_2842.cpp:62:6: error: redefinition of 'void solve()'
void solve()
^
0_0_38218308_2842.cpp:7:6: note: 'void solve()' previously defined here
void solve()
^
0_0_38218308_2842.cpp:68:23: error: 'memset' was not declared in this scope
memset(a,0,sizeof(a));
^
0_0_38218308_2842.cpp: In function 'int main()':
0_0_38218308_2842.cpp:101:5: error: redefinition of 'int main()'
int main()
^
0_0_38218308_2842.cpp:46:5: note: 'int main()' previously defined here
int main()
^
|