Mã chấm: 272114
Main.cc: In function ‘void sosanh(long long int*, long long int)’:
Main.cc:11:69: error: expected ‘]’ before ‘)’ token
if(a[1] == a [n] || a[1] == a[i + 2] || a[(n/2) + 1] == a[(n/2) -1)
^
Main.cc: In function ‘int main()’:
Main.cc:27:11: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
~~~~~^~~~~~~~~~~~
Main.cc:34:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &a[i]);
~~~~~^~~~~~~~~~~~~~~