Problem candles
User asruby
Submission Time 2023-12-01 16:46:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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())
| ^~~