Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
97707 黄梓皓 拉线开关 C++ Accepted 1 MS 264 KB 175 2024-11-16 13:07:57

Tests(4/4):


Code:

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