Untitled

 avatar
user_7248805
plain_text
2 years ago
221 B
0
Indexable
Never
#include <iostream>
#include <string>
using namespace std;

int main()
{
	string arr;
	cin >> arr;
	for (int i = 0; i < arr.size(); i++)
	{
		if (arr[i] == '0')
		{
			arr[i] == '1';
		}
	}
	cout << arr;
}