Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
97704 刘明沅 拉线开关 C++ Accepted 1 MS 268 KB 151 2024-11-16 13:07:04

Tests(4/4):


Code:

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