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 listJan 2, 2023 14:44Jack FrigaardJack FrigaardScore: 5,482Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 14:445,44137,217,17516,387,0001,024,0002,285,568
2Jan 2, 2023 14:445,44544,104,52316,399,0001,024,0002,285,568
3Jan 2, 2023 14:445,45534,342,98816,430,0001,026,0002,285,568
4Jan 2, 2023 14:445,46738,578,37116,464,0001,029,0002,285,568
5Jan 2, 2023 14:445,46835,704,87115,441,0002,058,0002,285,568
6Jan 2, 2023 14:445,48241,259,04416,510,0001,031,0002,531,328
7Jan 2, 2023 14:445,48238,522,76917,543,00002,285,568
8Jan 2, 2023 14:445,48933,292,96916,533,0001,033,0002,285,568
9Jan 2, 2023 14:445,49043,290,30117,569,00002,285,568
10Jan 2, 2023 14:445,70193,239,74118,243,31602,301,952
11Jan 2, 2023 14:445,71189,711,25718,276,72302,297,856
12Jan 2, 2023 14:445,73481,223,75218,348,54102,297,856