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

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 12:305,65545,752,39617,090,0001,005,0002,396,160
2May 16, 2021 12:305,65842,113,32618,107,00002,527,232
3May 16, 2021 12:305,65944,680,96817,044,0001,065,0002,400,256
4May 16, 2021 12:305,66241,839,81716,106,0002,013,0002,265,088
5May 16, 2021 12:305,66641,334,51317,123,0001,007,0002,265,088
6May 16, 2021 12:305,68445,044,31118,188,00002,265,088
7May 16, 2021 12:305,68437,246,64118,189,00002,392,064
8May 16, 2021 12:305,69334,135,12117,205,0001,012,0002,400,256
9May 16, 2021 12:305,69549,529,07217,213,0001,012,0002,392,064
10May 16, 2021 12:306,17590,666,07419,759,10202,277,376
11May 16, 2021 12:306,19092,483,12119,808,40602,285,568
12May 16, 2021 12:306,20479,248,14519,852,67302,281,472