building.cpp: In member function 'll Hull::query(ll)':
building.cpp:76:46: warning: narrowing conversion of 'x' from 'll {aka long long int}' to 'double' inside { } [-Wnarrowing]
Line l = *lines.lower_bound({0, 0, x});
^
building.cpp: In function 'int main()':
building.cpp:10:32: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
#define nl(n) scanf("%I64d", &n)
^
building.cpp:12:48: note: in expansion of macro 'nl'
#define nal(a,n) for (int i = 0; i < (n); i++) nl((a)[i])
^~
building.cpp:86:5: note: in expansion of macro 'nal'
nal(h, n);
^~~
building.cpp:10:32: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
#define nl(n) scanf("%I64d", &n)
^
building.cpp:12:48: note: in expansion of macro 'nl'
#define nal(a,n) for (int i = 0; i < (n); i++) nl((a)[i])
^~
building.cpp:87:5: note: in expansion of macro 'nal'
nal(w, n);
^~~
building.cpp:97:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
printf("%I64d\n", dp[n - 1]);
~~~~~~~~~^
building.cpp:9:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
#define ni(n) scanf("%d", &n)
~~~~~^~~~~~~~~~
building.cpp:85:5: note: in expansion of macro 'ni'
ni(n);
^~
building.cpp:10:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
#define nl(n) scanf("%I64d", &n)
~~~~~^~~~~~~~~~~~~
building.cpp:12:48: note: in expansion of macro 'nl'
#define nal(a,n) for (int i = 0; i < (n); i++) nl((a)[i])
^~
building.cpp:86:5: note: in expansion of macro 'nal'
nal(h, n);
^~~
building.cpp:10:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
#define nl(n) scanf("%I64d", &n)
~~~~~^~~~~~~~~~~~~
building.cpp:12:48: note: in expansion of macro 'nl'
#define nal(a,n) for (int i = 0; i < (n); i++) nl((a)[i])
^~
building.cpp:87:5: note: in expansion of macro 'nal'
nal(w, n);
^~~