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 3, 2023 18:44Hal FHal FScore: 4,872Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 18:444,78331,936,96413,264,0002,040,0002,289,664
2Jan 3, 2023 18:444,80842,379,92915,387,00002,273,280
3Jan 3, 2023 18:444,81231,380,54715,398,00002,269,184
4Jan 3, 2023 18:444,81938,127,13014,393,0001,028,0002,289,664
5Jan 3, 2023 18:444,83436,533,66514,437,0001,031,0002,289,664
6Jan 3, 2023 18:444,87037,386,04314,545,0001,038,0002,273,280
7Jan 3, 2023 18:444,87247,123,17514,550,0001,039,0002,289,664
8Jan 3, 2023 18:444,87341,803,20214,555,0001,039,0002,289,664
9Jan 3, 2023 18:444,88343,721,40015,627,00002,273,280
10Jan 3, 2023 18:445,06078,524,43516,190,94102,256,896
11Jan 3, 2023 18:445,067105,127,32716,214,60702,297,856
12Jan 3, 2023 18:445,12985,658,61816,412,19002,179,072