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 listApr 1, 2024 13:47Drew GarciaDrew GarciaScore: 5,670Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 1, 2024 13:475,62642,372,08416,003,0002,000,0002,289,664
2Apr 1, 2024 13:475,62848,900,64216,010,0002,001,0002,281,472
3Apr 1, 2024 13:475,63443,034,11516,027,0002,003,0002,281,472
4Apr 1, 2024 13:475,63542,426,57215,028,0003,005,0002,293,760
5Apr 1, 2024 13:475,64643,942,30518,068,00002,281,472
6Apr 1, 2024 13:475,66146,310,44416,102,0002,012,0002,281,472
7Apr 1, 2024 13:475,67049,874,94516,129,0002,016,0002,281,472
8Apr 1, 2024 13:475,67348,106,24616,136,0002,017,0002,273,280
9Apr 1, 2024 13:475,68550,097,29516,171,0002,021,0002,293,760
10Apr 1, 2024 13:475,96190,276,05419,074,40802,301,952
11Apr 1, 2024 13:475,970104,481,66119,105,20602,174,976
12Apr 1, 2024 13:476,00388,108,64819,209,88202,179,072