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 19:02Alexander MonakovAlexander MonakovScore: 5,219Success
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 19:025,18232,930,51915,545,0001,036,0002,273,280
2Mar 16, 2023 19:025,18339,490,29915,549,0001,036,0002,273,280
3Mar 16, 2023 19:025,18940,324,93115,567,0001,037,0002,273,280
4Mar 16, 2023 19:025,19832,858,34015,593,0001,039,0002,277,376
5Mar 16, 2023 19:025,20043,439,48915,601,0001,040,0002,277,376
6Mar 16, 2023 19:025,20841,081,66515,623,0001,041,0002,277,376
7Mar 16, 2023 19:025,21942,689,60715,657,0001,043,0002,277,376
8Mar 16, 2023 19:025,22541,055,95515,675,0001,045,0002,273,280
9Mar 16, 2023 19:025,24238,815,11614,800,0001,973,0002,277,376
10Mar 16, 2023 19:025,39359,779,29617,258,34202,244,608
11Mar 16, 2023 19:025,40891,125,75017,305,65002,232,320
12Mar 16, 2023 19:025,42999,282,12117,371,44202,248,704