This commit is contained in:
Fengyi Chen
2024-05-14 22:28:09 +08:00
parent 4d5ff00243
commit 4b8c0c58eb
11 changed files with 298 additions and 11 deletions

View File

@ -0,0 +1,15 @@
#include <iostream>
using namespace std;
int main(){
int n;
cin >> n ;
if(n % 2 == 1)
{
cout << 1 ;
}
else
{
cout << 0 ;
}
return 0;
}