sparklers.cpp: In function 'void conv(std::vector<long long int>&, std::vector<std::pair<long long int, long long int> >&)':
sparklers.cpp:15:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(ll i=0,S=0;i<A.size();i++) {
^
sparklers.cpp:17:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i+1 == A.size() || (A[i] >= 0) != (A[i+1] >= 0)) {
^
sparklers.cpp:22:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(ll i=(tmp[0] >= 0);i<tmp.size();) {
^
sparklers.cpp:24:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<tmp.size() && P < 0) {
^
sparklers.cpp: In function 'bool can(ll)':
sparklers.cpp:38:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(ll i=0,j=0;i<cf.size()||j<cb.size();) {
^
sparklers.cpp:38:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(ll i=0,j=0;i<cf.size()||j<cb.size();) {
^
sparklers.cpp:39:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i == cf.size()) {
^
sparklers.cpp:43:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j == cb.size()) {
^
sparklers.cpp:47:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i<cf.size() && gp+cf[i].X >= 0 && cf[i].Y >= 0) {
^
sparklers.cpp:50:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j<cb.size() && gp+cb[j].X >= 0 && cb[j].Y >= 0) {
^
sparklers.cpp: In function 'int main()':
sparklers.cpp:62:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld",&n,&k,&t);
^
sparklers.cpp:65:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&a[i]);
^