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 28, 2025 21:05lukostlukostScore: 4,464Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 28, 2025 21:054,45331,109,12612,215,0002,035,0002,531,328
2Apr 28, 2025 21:054,45834,175,57313,248,0001,019,0002,531,328
3Apr 28, 2025 21:054,46031,555,22913,252,0001,019,0002,449,408
4Apr 28, 2025 21:054,46328,118,24513,261,0001,020,0002,449,408
5Apr 28, 2025 21:054,46439,267,94913,266,0001,020,0002,531,328
6Apr 28, 2025 21:054,46730,265,03413,273,0001,021,0002,531,328
7Apr 28, 2025 21:054,47029,167,10213,282,0001,021,0002,449,408
8Apr 28, 2025 21:054,47033,373,78213,283,0001,021,0002,531,328
9Apr 28, 2025 21:054,49841,801,75213,364,0001,028,0002,449,408