(H) 0/1-переключатель
Anonymous
c_cpp
09/28/2023 11:57 AM
188 B
27
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;
}