pilot.cpp: In function 'std::vector<long long int> count(std::vector<int>, std::vector<int>)':
pilot.cpp:18:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for (int i = 0; i < h.size(); i++) {
| ~~^~~~~~~~~~
pilot.cpp:27:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for (int i = 2; i < allPlanes.size(); i++) { // partial sum of possible flights
| ~~^~~~~~~~~~~~~~~~~~
pilot.cpp:34:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | if (Y >= allPlanes.size()) {
| ~~^~~~~~~~~~~~~~~~~~~
pilot.cpp: In function 'int main()':
pilot.cpp:58:31: error: conversion from 'vector<long long int>' to non-scalar type 'vector<int>' requested
58 | vector<int> result = count(h, y);
| ~~~~~^~~~~~