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 15:27Jack FrigaardJack FrigaardScore: 5,585Success
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 15:275,49343,062,14116,545,0001,034,0002,269,184
2Jan 2, 2023 15:275,49442,159,40417,582,00002,269,184
3Jan 2, 2023 15:275,52242,976,31916,631,0001,039,0002,285,568
4Jan 2, 2023 15:275,53350,953,60116,665,0001,041,0002,285,568
5Jan 2, 2023 15:275,53546,844,06917,712,00002,285,568
6Jan 2, 2023 15:275,58348,770,72417,865,00002,523,136
7Jan 2, 2023 15:275,58544,221,28915,886,0001,985,0002,285,568
8Jan 2, 2023 15:275,58739,450,98515,893,0001,986,0002,523,136
9Jan 2, 2023 15:275,59048,757,88516,894,000993,0002,531,328
10Jan 2, 2023 15:275,69278,664,62118,215,33702,293,760
11Jan 2, 2023 15:275,71778,427,91618,292,94002,297,856
12Jan 2, 2023 15:275,78770,943,28218,517,22502,297,856