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 listMay 23, 2021 18:00Yuriy LyfenkoYuriy LyfenkoScore: 5,144Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 18:005,08734,669,40716,278,00002,400,256
2May 23, 2021 18:005,09637,209,26916,308,00002,265,088
3May 23, 2021 18:005,10642,656,42916,340,00002,265,088
4May 23, 2021 18:005,11840,627,93615,354,0001,023,0002,379,776
5May 23, 2021 18:005,12738,915,23115,381,0001,025,0002,265,088
6May 23, 2021 18:005,13631,763,05915,409,0001,027,0002,256,896
7May 23, 2021 18:005,14433,223,42815,433,0001,028,0002,265,088
8May 23, 2021 18:005,15638,617,20115,468,0001,031,0002,392,064
9May 23, 2021 18:005,16143,489,46516,516,00002,396,160
10May 23, 2021 18:005,29085,118,91516,927,78202,281,472
11May 23, 2021 18:005,34183,830,82517,092,74402,269,184
12May 23, 2021 18:005,39280,688,26417,255,17102,285,568