bulves.cpp: In function 'int main()':
bulves.cpp:8:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
8 | int n; scanf("%d", &n);
| ~~~~~^~~~~~~~~~
bulves.cpp:10:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
10 | int a, b; scanf("%d %d", &a, &b);
| ~~~~~^~~~~~~~~~~~~~~~~
bulves.cpp:11:5: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
11 | d += a - b;
| ~~^~~~~~~~