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 listJan 5, 2023 23:01Hal FHal FScore: 5,151Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2023 23:015,11134,821,05014,312,0002,044,0002,289,664
2Jan 5, 2023 23:015,11233,460,56915,337,0001,022,0002,379,776
3Jan 5, 2023 23:015,12436,887,29414,348,0002,049,0002,269,184
4Jan 5, 2023 23:015,12938,732,32814,362,0002,051,0002,367,488
5Jan 5, 2023 23:015,14242,821,72314,397,0002,056,0002,289,664
6Jan 5, 2023 23:015,14440,094,21215,434,0001,028,0002,281,472
7Jan 5, 2023 23:015,15144,878,44515,453,0001,030,0002,531,328
8Jan 5, 2023 23:015,15831,767,01415,473,0001,031,0002,269,184
9Jan 5, 2023 23:015,17833,402,49815,534,0001,035,0002,289,664
10Jan 5, 2023 23:015,308101,979,94616,985,75702,301,952
11Jan 5, 2023 23:015,33390,855,66217,065,24002,289,664
12Jan 5, 2023 23:015,35287,302,46017,127,84402,297,856