Mã chấm: 19961
Main.cc: In function ‘int main()’: Main.cc:8:9: error: expected ‘;’ before ‘int’ int a[n]; ^~~ Main.cc:11:22: error: ‘a’ was not declared in this scope scanf("%d", &a[i]); ^ Main.cc:19:21: error: ‘a’ was not declared in this scope if (a[i]+a[j] > a[k] && a[j]+a[k] > a[i] && a[i]+a[k] > a[j]) { ^ Main.cc:6:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n) ~~~~~^~~~~~~~~~