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 06:50vahookvahookScore: 4,170Success
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 06:514,13035,810,11112,199,0001,016,0002,498,560
2Apr 23, 2025 06:514,14235,930,93913,253,00002,506,752
3Apr 23, 2025 06:514,14827,999,62413,274,00002,273,280
4Apr 23, 2025 06:514,15930,771,26313,309,00002,494,464
5Apr 23, 2025 06:514,16032,301,44513,312,00002,498,560
6Apr 23, 2025 06:514,16335,305,71113,323,00002,273,280
7Apr 23, 2025 06:504,17027,761,63213,343,00002,273,280
8Apr 23, 2025 06:504,18225,138,55613,383,00002,269,184
9Apr 23, 2025 06:514,19131,210,21913,410,00002,273,280
10Apr 23, 2025 06:514,19639,824,59413,428,00002,273,280
11Apr 23, 2025 06:514,20635,439,16513,458,00002,494,464
12Apr 23, 2025 06:504,21333,437,17913,480,00002,273,280