(H) 0/1-переключатель

mail@pastecode.io avatar
unknown
c_cpp
7 months ago
140 B
5
Indexable
Never
#include <iostream>

using namespace std;

int main() {
    int state;
    cin >> state;
    cout << 1 - state;
    return 0;
}