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 listJul 25, 2021 15:12Adam FolwarcznyAdam FolwarcznyScore: 5,504Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2021 15:125,48640,984,73117,554,00002,265,088
2Jul 25, 2021 15:125,48737,607,71317,559,00002,396,160
3Jul 25, 2021 15:125,48840,061,61416,528,0001,033,0002,396,160
4Jul 25, 2021 15:125,49175,132,81117,571,48502,285,568
5Jul 25, 2021 15:125,49941,521,24016,562,0001,035,0002,265,088
6Jul 25, 2021 15:125,49942,226,23516,563,0001,035,0002,265,088
7Jul 25, 2021 15:125,50475,722,33617,611,94802,273,280
8Jul 25, 2021 15:125,51274,539,98617,636,98502,281,472
9Jul 25, 2021 15:125,52139,453,18317,666,00002,265,088
10Jul 25, 2021 15:125,52645,367,21417,682,00002,506,752
11Jul 25, 2021 15:125,54152,337,74617,731,00002,527,232
12Jul 25, 2021 15:125,54343,631,79717,738,00002,392,064