运行 ID: 50009

Main.cc: In function ‘int main()’:
Main.cc:14:4: error: ‘k’ was not declared in this scope
    k=a[i]%2;
    ^