Problem | candles |
---|---|
User | asruby |
Submission Time | 2023-12-01 16:45:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
candles.cpp: In function ‘int main()’:
candles.cpp:17:7: error: expected ‘)’ before ‘in’
17 | if (0 in candles == True)
| ~ ^~~
| )
candles.cpp:21:24: error: request for member ‘begin’ in ‘candles’, which is of non-class type ‘long long int [N]’
21 | sorted = sort(candles.begin(),candles.end())
| ^~~~~
candles.cpp:21:40: error: request for member ‘end’ in ‘candles’, which is of non-class type ‘long long int [N]’
21 | sorted = sort(candles.begin(),candles.end())
| ^~~
candles.cpp:23:18: error: ‘j’ was not declared in this scope
23 | for (int j = 0; j < N; j++){
| ^