Run id: 107101

Main.cc: In function 'int main()':
Main.cc:8:10: error: 'a' was not declared in this scope
   cin >> a[i];
          ^
Main.cc:12:7: error: 'a' was not declared in this scope
   if (a[i] == k) {
       ^