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 listMar 16, 2023 18:18Alexander MonakovAlexander MonakovScore: 5,098Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2023 18:185,05338,197,87416,170,00002,277,376
2Mar 16, 2023 18:185,05744,746,42716,182,00002,273,280
3Mar 16, 2023 18:185,06334,780,26215,191,0001,012,0002,273,280
4Mar 16, 2023 18:185,06436,010,57016,206,00002,273,280
5Mar 16, 2023 18:185,07735,232,80716,245,00002,498,560
6Mar 16, 2023 18:185,08345,218,47715,249,0001,016,0002,273,280
7Mar 16, 2023 18:185,09847,593,83516,312,00002,277,376
8Mar 16, 2023 18:185,10244,090,31516,327,00002,502,656
9Mar 16, 2023 18:185,10342,030,31315,309,0001,020,0002,498,560
10Mar 16, 2023 18:185,28267,837,70216,902,22502,244,608
11Mar 16, 2023 18:185,287104,309,90516,917,37202,240,512
12Mar 16, 2023 18:185,33187,258,19417,060,04402,244,608