kocka.cpp: In function 'int main()':
kocka.cpp:8:16: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'LL* {aka long long int*}' [-Wformat=]
scanf("%ld",&n);
~~^
kocka.cpp:8:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
~~~~~^~~~~~~~~~
kocka.cpp:10:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&l[i]);
~~~~~^~~~~~~~~~~~~~
kocka.cpp:13:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&r[i]);
~~~~~^~~~~~~~~~~~~~
kocka.cpp:16:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&u[i]);
~~~~~^~~~~~~~~~~~~~
kocka.cpp:19:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&d[i]);
~~~~~^~~~~~~~~~~~~~