Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listApr 24, 2025 19:57lukostlukostScore: 5,273Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 19:575,22244,344,58016,711,00002,527,232
2Apr 24, 2025 19:575,22644,736,90516,724,00002,453,504
3Apr 24, 2025 19:575,26741,956,09115,863,000991,0002,531,328
4Apr 24, 2025 19:575,27144,608,31316,866,00002,437,120
5Apr 24, 2025 19:575,27331,029,07913,897,0002,978,0002,449,408
6Apr 24, 2025 19:575,27343,915,19616,875,00002,445,312
7Apr 24, 2025 19:575,27345,557,36515,883,000992,0002,527,232
8Apr 24, 2025 19:575,27640,672,19115,889,000993,0002,445,312
9Apr 24, 2025 19:575,27741,294,00216,885,00002,441,216