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 28, 2024 03:35Chris ScarboroughChris ScarboroughScore: 5,299Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 03:355,27344,546,45815,883,000992,0002,265,088
2Jul 28, 2024 03:355,28144,085,74815,906,000994,0002,265,088
3Jul 28, 2024 03:355,28243,369,67114,913,0001,988,0002,265,088
4Jul 28, 2024 03:355,29241,911,56615,937,000996,0002,506,752
5Jul 28, 2024 03:355,29744,036,24115,954,000997,0002,383,872
6Jul 28, 2024 03:355,29848,388,03514,961,0001,994,0002,383,872
7Jul 28, 2024 03:355,29937,738,51614,962,0001,994,0002,387,968
8Jul 28, 2024 03:355,31352,949,78115,002,0002,000,0002,265,088
9Jul 28, 2024 03:355,31633,777,29916,010,0001,000,0002,265,088
10Jul 28, 2024 03:355,51691,110,08717,652,13802,285,568
11Jul 28, 2024 03:355,52971,687,46017,692,86002,293,760
12Jul 28, 2024 03:355,55477,139,97317,773,87502,281,472