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 30, 2021 16:50Yuriy LyfenkoYuriy LyfenkoScore: 5,075Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 16:505,02743,557,12815,081,0001,005,0002,281,472
2May 30, 2021 16:505,02937,567,21615,087,0001,005,0002,400,256
3May 30, 2021 16:505,04436,541,01615,134,0001,008,0002,408,448
4May 30, 2021 16:505,04632,907,46215,139,0001,009,0002,265,088
5May 30, 2021 16:505,05230,743,87315,155,0001,010,0002,281,472
6May 30, 2021 16:505,05338,760,45215,159,0001,010,0002,273,280
7May 30, 2021 16:505,07540,839,92614,211,0002,030,0002,281,472
8May 30, 2021 16:505,08638,333,32715,259,0001,017,0002,281,472
9May 30, 2021 16:505,09638,420,27714,269,0002,038,0002,281,472
10May 30, 2021 16:505,20477,507,63316,654,27202,285,568
11May 30, 2021 16:505,23355,237,59716,746,76502,281,472
12May 30, 2021 16:505,25379,394,02516,809,96102,285,568