提交时间:2023-07-22 17:14:46

运行 ID: 24325

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