Problem | ljubomora |
---|---|
User | PrunJuice |
Submission Time | 2024-02-06 14:04:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ljubomora.cpp: In function ‘int main()’:
ljubomora.cpp:8:27: error: conflicting declaration ‘std::vector<long long int> M’
8 | vector<long long int> M(M);
| ^
ljubomora.cpp:5:22: note: previous declaration as ‘long long int M’
5 | long long int N, M;
| ^
ljubomora.cpp:10:16: error: ‘Marbles’ was not declared in this scope
10 | cin >> Marbles[i];
| ^~~~~~~
ljubomora.cpp:12:48: error: ‘marbles’ was not declared in this scope
12 | long long int low = 0, high = *max_element(marbles.begin(), marbles.end());
| ^~~~~~~