#include <stdio.h> #include <string.h> char a[100000005]; int main(){ scanf ("%s",a); long long b=strlen (a); if (a[b-1]%2==0){ printf ("even number"); } else { printf ("odd number"); } return 0; }
註冊一個 南阳理工学院OJ 通用賬戶,您就可以在我們提供的所有線上評測服務上提交程式碼、參與討論。
使用您的 南阳理工学院OJ 通用賬戶