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 listSep 26, 2023 12:27IhebIhebScore: 5,719Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2023 12:275,66343,649,72917,114,0001,006,0002,277,376
2Sep 26, 2023 12:275,66534,382,83616,114,0002,014,0002,289,664
3Sep 26, 2023 12:275,67348,216,21316,136,0002,017,0002,289,664
4Sep 26, 2023 12:275,68039,726,19116,157,0002,019,0002,269,184
5Sep 26, 2023 12:275,70741,103,20917,247,0001,014,0002,269,184
6Sep 26, 2023 12:275,71940,693,86416,267,0002,033,0002,289,664
7Sep 26, 2023 12:275,71942,643,14916,267,0002,033,0002,531,328
8Sep 26, 2023 12:275,72235,123,35016,276,0002,034,0002,289,664
9Sep 26, 2023 12:275,73043,028,71616,298,0002,037,0002,527,232
10Sep 26, 2023 12:275,91681,966,72018,931,75302,301,952
11Sep 26, 2023 12:275,93992,774,56219,005,57402,297,856
12Sep 26, 2023 12:275,962111,952,72919,076,87402,301,952