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 21, 2025 23:20vahookvahookScore: 4,268Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2025 23:214,25329,886,32713,609,00002,494,464
2Apr 21, 2025 23:204,25838,001,27513,624,00002,273,280
3Apr 21, 2025 23:204,25926,992,46313,630,00002,494,464
4Apr 21, 2025 23:224,26038,985,17213,632,00002,273,280
5Apr 21, 2025 23:214,26232,241,55613,638,00002,486,272
6Apr 21, 2025 23:224,26427,338,99013,644,00002,273,280
7Apr 21, 2025 23:214,26445,121,14613,645,00002,494,464
8Apr 21, 2025 23:224,26829,227,99613,657,00002,273,280
9Apr 21, 2025 23:204,26837,837,09013,656,00002,490,368
10Apr 21, 2025 23:214,26838,706,33013,657,00002,494,464
11Apr 21, 2025 23:204,26829,634,32113,657,00002,490,368
12Apr 21, 2025 23:214,27333,940,81813,675,00002,273,280
13Apr 21, 2025 23:204,27527,939,57013,681,00002,273,280
14Apr 21, 2025 23:214,27637,846,79913,682,00002,273,280
15Apr 21, 2025 23:204,27630,533,66213,683,00002,273,280
16Apr 21, 2025 23:204,27736,639,55813,687,00002,273,280
17Apr 21, 2025 23:204,28343,615,43013,706,00002,273,280
18Apr 21, 2025 23:204,28530,727,02613,713,00002,494,464
19Apr 21, 2025 23:214,28631,470,25013,715,00002,490,368
20Apr 21, 2025 23:214,28841,166,13813,722,00002,498,560
21Apr 21, 2025 23:214,28930,804,61413,724,00002,502,656