Mã chấm: 466027
Main.cc: In function ‘int main()’: Main.cc:43:31: error: expected ‘;’ before ‘{’ token 43 | else(a1 == a2) { | ^~ | ; Main.cc:11:13: warning: unused variable ‘b’ [-Wunused-variable] 11 | int b[100]; | ^ Main.cc:5:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5 | scanf("%d %d", &n, &s); | ~~~~~^~~~~~~~~~~~~~~~~ Main.cc:8:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 8 | scanf("%d", &a[i]); | ~~~~~^~~~~~~~~~~~~