Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
97706 金昱帆 拉线开关 C++ Accepted 1 MS 272 KB 155 2024-11-16 13:07:49

Tests(4/4):


Code:

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