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:57Sergey StreminSergey StreminScore: 5,451Success
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:575,43336,915,35117,387,00002,379,776
2May 17, 2021 11:575,43535,812,75817,391,00002,371,584
3May 17, 2021 11:575,44142,775,40417,411,00002,277,376
4May 17, 2021 11:575,44343,556,38516,393,0001,024,0002,379,776
5May 17, 2021 11:575,44537,762,98317,424,00002,371,584
6May 17, 2021 11:575,44842,082,53316,409,0001,025,0002,367,488
7May 17, 2021 11:575,45136,461,62217,442,00002,375,680
8May 17, 2021 11:575,45240,609,75815,394,0002,052,0002,277,376
9May 17, 2021 11:575,46343,904,32115,427,0002,056,0002,465,792
10May 17, 2021 11:575,72285,991,17218,309,96402,244,608
11May 17, 2021 11:575,74571,686,45518,385,34302,240,512
12May 17, 2021 11:575,75088,328,70718,399,62602,244,608