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 23, 2024 07:11MaxMaxScore: 5,654Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 23, 2024 07:115,62344,506,12715,995,0001,999,0002,289,664
2Sep 23, 2024 07:115,62942,593,27516,013,0002,001,0002,269,184
3Sep 23, 2024 07:115,63644,562,36216,031,0002,003,0002,289,664
4Sep 23, 2024 07:115,64245,281,86416,048,0002,006,0002,273,280
5Sep 23, 2024 07:115,65445,908,27016,083,0002,010,0002,289,664
6Sep 23, 2024 07:115,65649,129,66217,094,0001,005,0002,531,328
7Sep 23, 2024 07:115,66049,727,49116,099,0002,012,0002,273,280
8Sep 23, 2024 07:115,67648,183,78216,144,0002,018,0002,289,664
9Sep 23, 2024 07:115,69843,472,28416,208,0002,026,0002,289,664