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 15, 2024 16:28matsuoka-601matsuoka-601Score: 4,858Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 16:284,80640,080,41013,330,0002,050,0002,289,664
2Jan 15, 2024 16:284,81938,108,45814,393,0001,028,0002,273,280
3Jan 15, 2024 16:284,84534,067,56114,471,0001,033,0002,289,664
4Jan 15, 2024 16:284,84731,233,05713,443,0002,068,0002,269,184
5Jan 15, 2024 16:284,84942,780,68714,482,0001,034,0002,527,232
6Jan 15, 2024 16:284,85239,814,52714,492,0001,035,0002,289,664
7Jan 15, 2024 16:284,85836,805,91714,510,0001,036,0002,269,184
8Jan 15, 2024 16:284,87142,890,45614,547,0001,039,0002,289,664
9Jan 15, 2024 16:284,87833,721,79015,610,00002,289,664
10Jan 15, 2024 16:285,05781,752,87416,183,48502,183,168
11Jan 15, 2024 16:285,08170,646,09616,258,39802,297,856
12Jan 15, 2024 16:285,09889,440,88616,313,96102,179,072