We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Breaking the Records
Breaking the Records
Sort by
recency
|
2260 Discussions
|
Please Login in order to post a comment
Mi solución en Python 3
python ;
def breakingRecords(scores): min_s = max_s = 0 min_value = max_value = scores[0] for i in scores: if (i < min_value): min_value = i min_s = min_s + 1
def breakingRecords(scores): min_s = max_s = 0 min_value = max_value = scores[0] for i in scores: if (i < min_value): min_value = i min_s = min_s + 1
C++
Python 3: