|
|
back to threadReply to message- Messages should be written in English and correspond to the matter of the website.
- Messages should not contain offences and obscene words.
- Messages should not contain correct solutions.
How to memorize used vertices while doing BFS Obviously USED array is MLE. Probably using unordered_set is OK. Are there better things than unordered_set? Maybe there are some mathematical properties?..
|
|
|