提交时间:2023-07-22 15:15:54

运行 ID: 24280

#include"bits/stdc++.h" using namespace std; int main(){ int n; cin>>n; string s; while(n--){ cin>>s; if(s[s.size()-1]%2==0) cout<<"even\n"; else cout<<"odd\n"; } }