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 17:53Joad NacerJoad NacerScore: 4,903Success
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 17:534,87439,007,49015,597,00002,277,376
2Apr 17, 2024 17:534,87532,774,03614,561,0001,040,0002,289,664
3Apr 17, 2024 17:534,87635,751,91315,604,00002,289,664
4Apr 17, 2024 17:534,89143,195,80114,608,0001,043,0002,289,664
5Apr 17, 2024 17:534,89532,719,01414,620,0001,044,0002,289,664
6Apr 17, 2024 17:534,89635,985,29014,623,0001,044,0002,289,664
7Apr 17, 2024 17:534,90349,540,48815,691,00002,289,664
8Apr 17, 2024 17:534,95338,543,70613,868,0001,981,0002,289,664
9Apr 17, 2024 17:534,95431,544,75914,864,000990,0002,281,472
10Apr 17, 2024 17:535,13988,454,49916,443,96802,297,856
11Apr 17, 2024 17:535,15990,681,24616,509,89402,301,952
12Apr 17, 2024 17:535,17869,123,39616,571,08802,297,856