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 22, 2021 23:08Mikhail ShirokovMikhail ShirokovScore: 55,461Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 23:0855,431244,070,369177,379,81002,277,376
2May 22, 2021 23:0855,442235,788,196177,413,62602,273,280
3May 22, 2021 23:0855,442237,330,550177,415,84402,277,376
4May 22, 2021 23:0855,445231,599,682177,424,51002,289,664
5May 22, 2021 23:0855,457241,325,849177,463,04702,273,280
6May 22, 2021 23:0855,460246,657,851177,470,49502,285,568
7May 22, 2021 23:0855,461246,502,450177,475,99402,281,472
8May 22, 2021 23:0855,464249,259,460177,486,18002,285,568
9May 22, 2021 23:0855,467231,790,159177,494,32302,281,472
10May 22, 2021 23:0855,473236,137,583177,513,98302,273,280
11May 22, 2021 23:0855,473232,030,133177,513,91102,277,376
12May 22, 2021 23:0855,478247,678,481177,529,88302,265,088