为什么是0分啊?
#include<bits/stdc++.h> using namespace std; int main() { int n; string a; cin>>n; for(int i=1;i<=n;i++) { int check,len; cin>>a; len=a.length(); check=a[len-1]-'0'; if(check%2==1) cout<<"even\n"; else cout<<"odd\n"; } return 0; }