Mã chấm: 272044
Main.cc: In function ‘int main()’: Main.cc:32:21: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int’ [-Wformat=] scanf("%lld", a[i]); ~~~~^ Main.cc:35:13: error: cannot convert ‘int*’ to ‘long long int*’ for argument ‘1’ to ‘void sosanh(long long int*, long long int)’ sosanh(a, n); ^ Main.cc:25:11: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &n); ~~~~~^~~~~~~~~~~~ Main.cc:32:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", a[i]); ~~~~~^~~~~~~~~~~~~~