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 17, 2023 00:25Martin StensgårdMartin StensgårdScore: 5,358Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2023 00:255,32943,348,48315,047,0002,006,0002,273,280
2May 17, 2023 00:255,34043,296,32615,078,0002,010,0002,441,216
3May 17, 2023 00:255,34536,064,54715,093,0002,012,0002,445,312
4May 17, 2023 00:255,35139,791,02215,109,0002,014,0002,285,568
5May 17, 2023 00:255,35441,961,78616,127,0001,007,0002,437,120
6May 17, 2023 00:255,35836,974,07715,128,0002,017,0002,535,424
7May 17, 2023 00:255,35844,650,78515,128,0002,017,0002,273,280
8May 17, 2023 00:255,37329,209,56415,170,0002,022,0002,445,312
9May 17, 2023 00:255,37736,444,70115,183,0002,024,0002,535,424
10May 17, 2023 00:255,52658,954,69917,682,57502,199,552
11May 17, 2023 00:255,54869,380,22317,753,14202,199,552
12May 17, 2023 00:255,55271,262,31717,767,24402,187,264