sculpture.cpp: In function 'int main()':
sculpture.cpp:15:5: error: 'cin' was not declared in this scope
cin>>n>>x>>y;
^~~
sculpture.cpp:15:5: note: suggested alternative: 'main'
cin>>n>>x>>y;
^~~
main
sculpture.cpp:24:30: error: 'min' was not declared in this scope
dp[i][sum|k]=min(dp[i][sum|k],dp[j-1][k]+1);
^~~
sculpture.cpp:24:30: note: suggested alternative: 'main'
dp[i][sum|k]=min(dp[i][sum|k],dp[j-1][k]+1);
^~~
main
sculpture.cpp:31:13: error: 'cout' was not declared in this scope
cout<<i<<endl;
^~~~
sculpture.cpp:31:22: error: 'endl' was not declared in this scope
cout<<i<<endl;
^~~~
sculpture.cpp:31:22: note: suggested alternative: 'enum'
cout<<i<<endl;
^~~~
enum
sculpture.cpp:32:13: error: 'exit' was not declared in this scope
exit(0);
^~~~
sculpture.cpp:28:9: warning: unused variable 'ans' [-Wunused-variable]
int ans=inf;
^~~