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 30, 2022 12:40Keichi TakahashiKeichi TakahashiScore: 5,449Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2022 12:405,41343,581,57716,303,0001,018,0002,387,968
2May 30, 2022 12:405,42247,586,84316,331,0001,020,0002,375,680
3May 30, 2022 12:405,43336,978,34416,364,0001,022,0002,265,088
4May 30, 2022 12:405,43837,211,08317,402,00002,265,088
5May 30, 2022 12:405,43936,790,82716,382,0001,023,0002,392,064
6May 30, 2022 12:405,44248,296,29717,414,00002,506,752
7May 30, 2022 12:405,44939,863,62316,411,0001,025,0002,510,848
8May 30, 2022 12:405,45237,939,06717,447,00002,502,656
9May 30, 2022 12:405,46734,967,54816,465,0001,029,0002,392,064
10May 30, 2022 12:405,49282,551,38517,575,10302,244,608
11May 30, 2022 12:405,50288,137,73517,607,36702,273,280
12May 30, 2022 12:405,51380,948,82517,642,52002,240,512