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, 2021 11:56Sergey StreminSergey StreminScore: 5,465Success
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, 2021 11:565,43139,635,87017,379,00002,363,392
2May 17, 2021 11:565,43638,151,87016,373,0001,023,0002,371,584
3May 17, 2021 11:565,43744,075,75117,399,00002,281,472
4May 17, 2021 11:565,44136,306,20415,364,0002,048,0002,371,584
5May 17, 2021 11:565,44943,642,59816,413,0001,025,0002,277,376
6May 17, 2021 11:565,46439,172,34914,399,0003,085,0002,367,488
7May 17, 2021 11:565,46539,462,48016,459,0001,028,0002,371,584
8May 17, 2021 11:565,46742,454,46115,435,0002,058,0002,277,376
9May 17, 2021 11:565,47337,967,95317,513,00002,367,488
10May 17, 2021 11:565,72485,951,63918,317,00302,252,800
11May 17, 2021 11:565,75676,384,61918,418,99802,240,512
12May 17, 2021 11:565,76186,554,70018,436,22102,248,704