Problem | thunderstorm |
---|---|
User | Henries |
Submission Time | 2024-10-18 16:24:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
thunderstorm.cpp: In function ‘std::pair<std::vector<long long int>, long long int> solve(std::vector<long long int>&, long long int, long long int, long long int)’:
thunderstorm.cpp:15:9: error: could not convert ‘newpos’ from ‘long long int’ to ‘std::pair<std::vector<long long int>, long long int>’
15 | return newpos;
| ^~~~~~
| |
| long long int
thunderstorm.cpp: In function ‘int main()’:
thunderstorm.cpp:32:24: error: cannot convert ‘std::pair<std::vector<long long int>, long long int>’ to ‘long long int’ in initialization
32 | long long p = solve(v,start,end,pos);
| ~~~~~^~~~~~~~~~~~~~~~~
| |
| std::pair<std::vector<long long int>, long long int>