Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
190 B
0
Indexable
Never
#include <iostream>
#include <string>
using namespace std;
int main() {
	string a;
	cin >> a;
	for (int i = 0; i < a.size() - 1; i++) {
		if (a[i] == '0') a[i] = '1';
	}cout << a;
}