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 29, 2024 15:39byrtoletbyrtoletScore: 6,410Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 15:396,02976,579,76719,292,71202,301,952
2Jul 29, 2024 15:396,06591,683,42919,407,27002,301,952
3Jul 29, 2024 15:396,07061,240,02519,424,45402,297,856
4Jul 29, 2024 15:396,39640,859,37319,443,0001,023,0002,289,664
5Jul 29, 2024 15:396,40148,359,09020,482,00002,289,664
6Jul 29, 2024 15:396,40836,741,38819,479,0001,025,0002,281,472
7Jul 29, 2024 15:396,41044,581,50019,486,0001,025,0002,269,184
8Jul 29, 2024 15:396,42741,999,35420,566,00002,269,184
9Jul 29, 2024 15:396,45145,923,92019,610,0001,032,0002,371,584
10Jul 29, 2024 15:396,45445,740,21819,620,0001,032,0002,265,088
11Jul 29, 2024 15:396,45546,999,74519,624,0001,032,0002,281,472
12Jul 29, 2024 15:396,46151,320,97519,641,0001,033,0002,289,664