Main.cc: In function ‘int main()’:
Main.cc:6:5: error: ‘longlong’ was not declared in this scope
6 | longlong int suma = 0, sumb = 0, sum = 0;
| ^~~~~~~~
Main.cc:7:14: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
7 | scanf("%ld %ld", &n, &m);
| ~~^ ~~
| | |
| | long long int*
| long int*
| %lld
Main.cc:7:18: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
7 | scanf("%ld %ld", &n, &m);
| ~~^ ~~
| | |
| | long long int*
| long int*
| %lld
Main.cc:9:9: error: ‘suma’ was not declared in this scope
9 | suma = suma + i;
| ^~~~
Main.cc:12:9: error: ‘sumb’ was not declared in this scope
12 | sumb = sumb + i;
| ^~~~
Main.cc:14:5: error: ‘sum’ was not declared in this scope
14 | sum = suma * sumb;
| ^~~
Main.cc:14:11: error: ‘suma’ was not declared in this scope
14 | sum = suma * sumb;
| ^~~~
Main.cc:14:18: error: ‘sumb’ was not declared in this scope
14 | sum = suma * sumb;
| ^~~~