relativnost.cpp: In function 'int main()':
relativnost.cpp:30:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i = 1; i <= n; i++)
^~~
relativnost.cpp:33:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
printf("%lld\n", dp[c][n]);
^~~~~~
relativnost.cpp:18:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n ,&c);
~~~~~^~~~~~~~~~~~~~~~
relativnost.cpp:20:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",a + i);
~~~~~^~~~~~~~~~~~
relativnost.cpp:22:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",b + i);
~~~~~^~~~~~~~~~~~
relativnost.cpp:24:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
~~~~~^~~~~~~~~
relativnost.cpp:27:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&x ,&y ,&z);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~