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 listJul 30, 2024 03:17BenBenScore: 4,695Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 03:174,66839,928,56312,946,0001,991,0002,527,232
2Jul 30, 2024 03:174,67333,589,34513,957,000996,0002,265,088
3Jul 30, 2024 03:174,67537,928,12113,963,000997,0002,527,232
4Jul 30, 2024 03:174,68130,264,51013,982,000998,0002,265,088
5Jul 30, 2024 03:174,68640,869,59713,995,000999,0002,265,088
6Jul 30, 2024 03:174,69431,616,23514,021,0001,001,0002,392,064
7Jul 30, 2024 03:174,69532,933,00914,022,0001,001,0002,265,088
8Jul 30, 2024 03:174,69632,279,61614,026,0001,001,0002,265,088
9Jul 30, 2024 03:174,70136,211,31714,040,0001,002,0002,265,088
10Jul 30, 2024 03:174,875101,970,21915,601,44802,285,568
11Jul 30, 2024 03:174,89785,914,68315,669,87202,277,376
12Jul 30, 2024 03:174,91476,200,23315,723,45702,281,472