Submit: 395 Solved: 263
[Submit][Status][Web Board]
Description
Input
Output
Sample Input
sdf$$$sdf$$
$
Sample Output
sdfsdf
#include
using namespace std;
int main()
{
string a;
char c;
int i;
cin>>a;
cin>>c;
for(i=0;;i++)
if(a[i]=='\0')
break;
else
if(c!=a[i])
cout<<a[i];
cout<<endl;
return 0;
}