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 23, 2025 19:58vahookvahookScore: 4,160Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 23, 2025 19:584,13429,938,13612,212,0001,017,0002,494,464
2Apr 23, 2025 20:174,13428,111,12713,229,00002,490,368
3Apr 23, 2025 20:174,14826,371,37313,274,00002,494,464
4Apr 23, 2025 20:174,15134,278,84513,284,00002,498,560
5Apr 23, 2025 19:574,15332,715,80713,288,00002,490,368
6Apr 23, 2025 19:574,15437,313,86712,272,0001,022,0002,273,280
7Apr 23, 2025 20:174,15636,859,23113,300,00002,498,560
8Apr 23, 2025 20:174,16029,399,06613,311,00002,494,464
9Apr 23, 2025 19:574,17230,751,45513,349,00002,494,464
10Apr 23, 2025 20:174,18828,633,50213,403,00002,502,656
11Apr 23, 2025 20:174,18831,019,24413,403,00002,494,464
12Apr 23, 2025 20:174,19935,259,06613,438,00002,273,280
13Apr 23, 2025 19:584,20428,811,15013,452,00002,494,464
14Apr 23, 2025 19:584,21929,999,34913,500,00002,531,328
15Apr 23, 2025 20:174,22332,798,95113,512,00002,273,280