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 13, 2021 11:04Dmitry DolgopolovDmitry DolgopolovScore: 5,023Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 11:045,00538,680,68514,014,0002,002,0002,449,408
2Jun 13, 2021 11:045,00536,751,09314,015,0002,002,0002,449,408
3Jun 13, 2021 11:045,00835,954,30914,023,0002,003,0002,457,600
4Jun 13, 2021 11:045,00937,109,42314,026,0002,003,0002,531,328
5Jun 13, 2021 11:045,01846,585,05214,050,0002,007,0002,453,504
6Jun 13, 2021 11:045,01828,416,89214,052,0002,007,0002,449,408
7Jun 13, 2021 11:045,02335,801,49714,063,0002,009,0002,269,184
8Jun 13, 2021 11:045,04331,933,70914,121,0002,017,0002,269,184
9Jun 13, 2021 11:045,20629,676,62415,618,0001,041,0002,269,184
10Jun 13, 2021 11:045,23475,432,59116,749,33602,203,648
11Jun 13, 2021 11:045,25892,380,12216,825,10402,199,552
12Jun 13, 2021 11:045,281106,953,08916,898,88002,203,648