Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
126802 陈冠樾 拉线开关 C++ Accepted 1 MS 268 KB 177 2025-07-21 17:13:40

Tests(4/4):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int m; cin >> m; if (m % 2 == 1) { cout << "1"; } if (m % 2 == 0) { cout << "0"; } return 0; }