Problem brainrot
User hmm
Submission Time 2024-12-23 12:00:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brainrot.cpp: In function ‘int32_t main()’:
brainrot.cpp:141:22: error: cannot convert ‘std::vector<long long int>’ to ‘int’
141 | cout << find_spread(a, b, a, b, p, d, c) << '\n';
| ^
| |
| std::vector<long long int>
brainrot.cpp:86:35: note: initializing argument 1 of ‘std::vector<long long int> find_spread(int, int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)’
86 | vector<long long> find_spread(int N, int M, vector<int> A, vector<int> B, vector<int> P, vector<int> D, vector<int> C) {
| ~~~~^