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 listDec 27, 2021 11:09Alexander KimAlexander KimScore: 5,716Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 27, 2021 11:095,67143,779,29416,132,0002,016,0002,334,720
2Dec 27, 2021 11:095,67941,442,62315,144,0003,028,0002,301,952
3Dec 27, 2021 11:095,67942,885,68316,155,0002,019,0002,428,928
4Dec 27, 2021 11:095,68941,400,76616,182,0002,022,0002,301,952
5Dec 27, 2021 11:095,69643,058,20116,203,0002,025,0002,306,048
6Dec 27, 2021 11:095,69841,079,41917,222,0001,013,0002,334,720
7Dec 27, 2021 11:095,71640,509,09115,244,0003,048,0002,306,048
8Dec 27, 2021 11:095,72035,276,56215,254,0003,050,0002,293,760
9Dec 27, 2021 11:095,72132,988,69415,256,0003,051,0002,334,720
10Dec 27, 2021 11:095,735108,005,62718,351,95202,269,184
11Dec 27, 2021 11:095,74267,629,24618,375,72802,269,184
12Dec 27, 2021 11:095,76164,901,60018,436,25302,269,184