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 listJun 9, 2024 19:44джулисджулисScore: 5,339Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 19:445,28342,631,81616,904,00002,293,760
2Jun 9, 2024 19:445,29444,622,07415,945,000996,0002,293,760
3Jun 9, 2024 19:445,30343,127,38914,973,0001,996,0002,293,760
4Jun 9, 2024 19:445,31139,006,83514,997,0001,999,0002,293,760
5Jun 9, 2024 19:445,32041,533,75215,022,0002,003,0002,363,392
6Jun 9, 2024 19:445,32942,752,55515,047,0002,006,0002,375,680
7Jun 9, 2024 19:445,33944,754,32116,081,0001,005,0002,293,760
8Jun 9, 2024 19:445,34143,487,56116,087,0001,005,0002,371,584
9Jun 9, 2024 19:445,34441,754,58915,089,0002,011,0002,293,760
10Jun 9, 2024 19:445,56985,806,27617,822,26902,256,896
11Jun 9, 2024 19:445,59399,665,51417,898,34502,252,800
12Jun 9, 2024 19:445,60166,989,43717,921,92602,256,896