Main.cc: In function ‘long long int check(long long int, long long int)’: Main.cc:18:14: error: ‘sumb3’ was not declared in this scope return suma*sumb3 3 1 ^~~~~ Main.cc:18:14: note: suggested alternative: ‘sumb’ return suma*sumb3 3 1 ^~~~~ sumb Main.cc:18:20: error: expected ‘;’ before numeric constant return suma*sumb3 3 1 ^ Main.cc:18:22: error: expected ‘;’ before numeric constant return suma*sumb3 3 1 ^ Main.cc:22:1: warning: statement has no effect [-Wunused-value] ; ^ Main.cc: In function ‘int main()’: Main.cc:25:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&m,&k); ~~~~~^~~~~~~~~~~~~~~~~~~ Main.cc:27:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ~~~~~^~~~~~~~~~~~ Main.cc:32:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&b[i]); ~~~~~^~~~~~~~~~~~