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 23, 2025 23:03vahookvahookScore: 4,170Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 23, 2025 23:034,10531,504,13612,126,0001,010,0002,502,656
2Apr 23, 2025 23:034,11334,787,64712,149,0001,012,0002,502,656
3Apr 23, 2025 23:034,13629,801,07713,235,00002,273,280
4Apr 23, 2025 23:034,13828,731,56912,224,0001,018,0002,494,464
5Apr 23, 2025 23:034,14830,383,63813,274,00002,498,560
6Apr 23, 2025 23:034,16436,165,72813,324,00002,494,464
7Apr 23, 2025 23:034,16524,722,42913,329,00002,498,560
8Apr 23, 2025 23:034,16726,842,42713,335,00002,273,280
9Apr 23, 2025 23:034,16830,882,03713,337,00002,498,560
10Apr 23, 2025 23:034,17027,520,23813,343,00002,531,328
11Apr 23, 2025 23:034,17135,759,32313,348,00002,273,280
12Apr 23, 2025 23:034,17228,756,20813,350,00002,494,464
13Apr 23, 2025 23:034,17825,864,11913,368,00002,273,280
14Apr 23, 2025 23:034,18025,634,72113,375,00002,273,280
15Apr 23, 2025 23:034,19330,555,60413,416,00002,486,272
16Apr 23, 2025 23:034,19334,771,79713,418,00002,273,280
17Apr 23, 2025 23:034,20132,262,04113,444,00002,498,560
18Apr 23, 2025 23:034,21427,707,56613,484,00002,273,280