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 listJul 14, 2024 00:06kytanskytansScore: 5,196Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 14, 2024 00:065,14342,435,73616,458,00002,502,656
2Jul 14, 2024 00:065,16134,044,40716,516,00002,277,376
3Jul 14, 2024 00:065,16331,803,70516,520,00002,502,656
4Jul 14, 2024 00:065,16430,874,04316,524,00002,277,376
5Jul 14, 2024 00:065,16742,099,06716,535,00002,277,376
6Jul 14, 2024 00:065,19644,735,65415,587,0001,039,0002,277,376
7Jul 14, 2024 00:065,19644,854,44716,626,00002,277,376
8Jul 14, 2024 00:065,19643,356,67416,627,00002,277,376
9Jul 14, 2024 00:065,19844,372,59316,633,00002,494,464
10Jul 14, 2024 00:065,42177,655,73917,348,00202,236,416
11Jul 14, 2024 00:065,42976,988,88117,371,95802,359,296
12Jul 14, 2024 00:065,453110,200,12517,448,83802,232,320