uzastopni.cpp: In function 'int main()':
uzastopni.cpp:6:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&n);
~~^
uzastopni.cpp:13:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d %d\n",p,q);
^
uzastopni.cpp:13:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
uzastopni.cpp:6:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~