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 15, 2021 19:25alex3dalex3dScore: 12,122Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 19:2512,01293,665,97238,437,58602,281,472
2May 15, 2021 19:2512,040106,498,61838,528,60102,281,472
3May 15, 2021 19:2512,054105,949,56138,572,65902,265,088
4May 15, 2021 19:2512,063101,107,18038,602,12402,265,088
5May 15, 2021 19:2512,122104,984,75838,789,44602,277,376
6May 15, 2021 19:2512,12999,250,95838,811,89702,273,280
7May 15, 2021 19:2512,130106,972,67038,816,50702,269,184
8May 15, 2021 19:2512,132103,202,58938,820,81002,269,184
9May 15, 2021 19:2512,133107,536,28438,826,30602,269,184