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 listMay 16, 2021 15:53Yuriy LyfenkoYuriy LyfenkoScore: 5,505Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 15:535,42538,417,59617,360,00002,260,992
2May 16, 2021 15:535,43942,232,49015,359,0002,047,0002,396,160
3May 16, 2021 15:535,45037,386,65615,389,0002,051,0002,392,064
4May 16, 2021 15:535,45534,640,00616,429,0001,026,0002,383,872
5May 16, 2021 15:535,46141,132,05016,447,0001,027,0002,519,040
6May 16, 2021 15:535,47840,090,34116,500,0001,031,0002,392,064
7May 16, 2021 15:535,50547,103,14117,617,00002,387,968
8May 16, 2021 15:535,59244,112,38816,899,000994,0002,392,064
9May 16, 2021 15:535,61435,280,86716,966,000998,0002,383,872
10May 16, 2021 15:535,72391,479,63918,314,64502,277,376
11May 16, 2021 15:535,77376,847,71318,474,96102,285,568
12May 16, 2021 15:535,78070,898,38618,497,39602,281,472