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 27, 2021 16:49Yuriy LyfenkoYuriy LyfenkoScore: 5,414Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 16:495,36243,155,96316,150,0001,009,0002,265,088
2May 27, 2021 16:495,36938,159,91016,171,0001,010,0002,265,088
3May 27, 2021 16:495,37651,638,05116,191,0001,011,0002,400,256
4May 27, 2021 16:495,37942,776,28316,200,0001,012,0002,265,088
5May 27, 2021 16:495,38637,031,71615,208,0002,027,0002,527,232
6May 27, 2021 16:495,40638,961,11716,282,0001,017,0002,265,088
7May 27, 2021 16:495,41444,204,71715,286,0002,038,0002,265,088
8May 27, 2021 16:495,42039,630,07616,324,0001,020,0002,392,064
9May 27, 2021 16:495,42934,772,98215,330,0002,044,0002,404,352
10May 27, 2021 16:495,54144,023,29717,730,36902,277,376
11May 27, 2021 16:495,54675,375,01017,748,23602,269,184
12May 27, 2021 16:495,66171,466,26318,115,86202,273,280