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 17, 2024 03:08Joad NacerJoad NacerScore: 5,523Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 03:085,44838,032,79116,409,0001,025,0002,273,280
2Apr 17, 2024 03:085,47840,740,97216,497,0001,031,0002,289,664
3Apr 17, 2024 03:085,47938,218,31016,502,0001,031,0002,289,664
4Apr 17, 2024 03:085,49642,754,63217,586,00002,289,664
5Apr 17, 2024 03:085,50542,583,37917,616,00002,265,088
6Apr 17, 2024 03:085,51940,228,60517,662,00002,531,328
7Apr 17, 2024 03:085,52345,332,90116,634,0001,039,0002,519,040
8Apr 17, 2024 03:085,52545,442,14417,681,00002,269,184
9Apr 17, 2024 03:085,53048,220,74616,655,0001,040,0002,289,664
10Apr 17, 2024 03:085,72986,296,03018,332,75202,252,800
11Apr 17, 2024 03:085,73066,070,93118,335,72602,174,976
12Apr 17, 2024 03:085,75274,159,40218,406,38602,293,760