Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
126381 袁梓豪 拉线开关 C++ Accepted 1 MS 272 KB 153 2025-07-18 15:49:20

Tests(4/4):


Code:

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