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 28, 2023 21:50IhebIhebScore: 5,791Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 28, 2023 21:505,70539,267,76416,229,0002,028,0002,289,664
2Sep 28, 2023 21:505,75042,546,67417,378,0001,022,0002,523,136
3Sep 28, 2023 21:505,75643,100,01717,395,0001,023,0002,289,664
4Sep 28, 2023 21:505,75640,230,05417,397,0001,023,0002,277,376
5Sep 28, 2023 21:505,75942,509,08017,405,0001,023,0002,289,664
6Sep 28, 2023 21:505,76636,810,39516,400,0002,050,0002,277,376
7Sep 28, 2023 21:505,79142,129,87316,582,0001,950,0002,289,664
8Sep 28, 2023 21:505,79344,730,77917,508,0001,029,0002,289,664
9Sep 28, 2023 21:505,81539,880,49117,575,0001,033,0002,531,328
10Sep 28, 2023 21:505,96283,756,55619,076,95502,297,856
11Sep 28, 2023 21:505,98295,912,81919,141,93602,297,856
12Sep 28, 2023 21:506,058103,480,41919,385,71802,174,976