(H) 0/1-переключатель
unknown
c_cpp
2 years ago
140 B
9
Indexable
#include <iostream>
using namespace std;
int main() {
int state;
cin >> state;
cout << 1 - state;
return 0;
}
Editor is loading...
#include <iostream>
using namespace std;
int main() {
int state;
cin >> state;
cout << 1 - state;
return 0;
}