0_0_28808212_25386.cpp:79:2: error: stray '#' in program
}#include<iostream>
^
0_0_28808212_25386.cpp: In function 'int main()':
0_0_28808212_25386.cpp:54:27: error: 'memset' was not declared in this scope
memset(dp, 0, sizeof(dp));
^
0_0_28808212_25386.cpp: At global scope:
0_0_28808212_25386.cpp:79:3: error: 'include' does not name a type
}#include<iostream>
^
0_0_28808212_25386.cpp:82:11: error: redefinition of 'const int INF'
const int INF = 0x3f3f3f3f;
^
0_0_28808212_25386.cpp:4:11: note: 'const int INF' previously defined here
const int INF = 0x3f3f3f3f;
^
0_0_28808212_25386.cpp:83:16: error: redefinition of 'int mp [305][305]'
int mp[305][305], n, m, a[10005], dp[100005];
^
0_0_28808212_25386.cpp:5:5: note: 'int mp [305][305]' previously declared here
int mp[305][305], n, m, a[10005], dp[100005];
^
0_0_28808212_25386.cpp:83:19: error: redefinition of 'int n'
int mp[305][305], n, m, a[10005], dp[100005];
^
0_0_28808212_25386.cpp:5:19: note: 'int n' previously declared here
int mp[305][305], n, m, a[10005], dp[100005];
^
0_0_28808212_25386.cpp:83:22: error: redefinition of 'int m'
int mp[305][305], n, m, a[10005], dp[100005];
^
0_0_28808212_25386.cpp:5:22: note: 'int m' previously declared here
int mp[305][305], n, m, a[10005], dp[100005];
^
0_0_28808212_25386.cpp:83:32: error: redefinition of 'int a [10005]'
int mp[305][305], n, m, a[10005], dp[100005];
^
0_0_28808212_25386.cpp:5:25: note: 'int a [10005]' previously declared here
int mp[305][305], n, m, a[10005], dp[100005];
^
0_0_28808212_25386.cpp:83:44: error: redefinition of 'int dp [100005]'
int mp[305][305], n, m, a[10005], dp[100005];
^
0_0_28808212_25386.cpp:5:35: note: 'int dp [100005]' previously declared here
int mp[305][305], n, m, a[10005], dp[100005];
^
0_0_28808212_25386.cpp: In function 'int main()':
0_0_28808212_25386.cpp:84:5: error: redefinition of 'int main()'
int main()
^
0_0_28808212_25386.cpp:6:5: note: 'int main()' previously defined here
int main()
^
0_0_28808212_25386.cpp:132:27: error: 'memset' was not declared in this scope
memset(dp, 0, sizeof(dp));
^
|