Problem | convention |
---|---|
User | Henries |
Submission Time | 2024-10-28 09:25:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
convention.cpp: In function ‘void solve(std::vector<long long int>, long long int)’:
convention.cpp:7:12: error: initializer in range-based ‘for’ loop
7 | for(int i = 0:i<cows.size();i++){
| ^
convention.cpp:7:29: error: expected ‘)’ before ‘;’ token
7 | for(int i = 0:i<cows.size();i++){
| ~ ^
| )
convention.cpp:7:30: error: ‘i’ was not declared in this scope
7 | for(int i = 0:i<cows.size();i++){
| ^