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 15, 2024 14:31kytanskytansScore: 4,444Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 14:314,39426,589,48513,056,0001,004,0002,277,376
2Jul 15, 2024 14:314,40827,529,36113,097,0001,007,0002,506,752
3Jul 15, 2024 14:314,41531,437,72513,118,0001,009,0002,506,752
4Jul 15, 2024 14:314,41928,446,13113,132,0001,010,0002,277,376
5Jul 15, 2024 14:314,42827,634,95413,157,0001,012,0002,277,376
6Jul 15, 2024 14:314,43727,695,42313,183,0001,014,0002,502,656
7Jul 15, 2024 14:314,44430,804,46313,207,0001,015,0002,506,752
8Jul 15, 2024 14:314,44829,051,41513,216,0001,016,0002,277,376
9Jul 15, 2024 14:314,45631,649,35913,240,0001,018,0002,277,376
10Jul 15, 2024 14:314,72972,846,70815,132,84002,252,800
11Jul 15, 2024 14:314,76464,467,28815,243,67702,375,680
12Jul 15, 2024 14:314,79052,259,27115,327,44102,383,872