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:53Jack FrigaardJack FrigaardScore: 5,491Success
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:535,43847,362,18315,354,0002,047,0002,527,232
2Jan 2, 2023 14:535,44741,062,04216,405,0001,025,0002,285,568
3Jan 2, 2023 14:535,45339,937,59016,424,0001,026,0002,285,568
4Jan 2, 2023 14:535,45835,918,88515,410,0002,054,0002,273,280
5Jan 2, 2023 14:535,45834,551,93116,438,0001,027,0002,285,568
6Jan 2, 2023 14:535,46344,402,93516,454,0001,028,0002,285,568
7Jan 2, 2023 14:535,49138,028,16816,537,0001,033,0002,527,232
8Jan 2, 2023 14:535,50345,138,05516,573,0001,035,0002,527,232
9Jan 2, 2023 14:535,52046,698,40917,663,00002,285,568
10Jan 2, 2023 14:535,66976,982,92918,141,96202,285,568
11Jan 2, 2023 14:535,71371,911,31018,281,35102,252,800
12Jan 2, 2023 14:535,72568,292,46418,321,36302,293,760