gorgeous.cpp: In function 'int main()':
gorgeous.cpp:43:7: warning: unused variable 'l' [-Wunused-variable]
int l = i - 1, r = n - i;
^
gorgeous.cpp:43:18: warning: unused variable 'r' [-Wunused-variable]
int l = i - 1, r = n - i;
^
gorgeous.cpp:48:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", ans[1]);
~~~~~~^
gorgeous.cpp:49:51: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
for (int i = 2; i <= n; i++) printf(" %d", ans[i]);
~~~~~~^
gorgeous.cpp:34:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
~~~~~^~~~~~~~~~
gorgeous.cpp:36:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &c[i]);
~~~~~^~~~~~~~~~~~~~~
gorgeous.cpp:39:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &d[i]);
~~~~~^~~~~~~~~~~~~~~