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:12lukostlukostScore: 4,462Success
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:124,44531,968,82712,192,0002,032,0002,433,024
2Apr 28, 2025 21:124,44627,773,26612,195,0002,032,0002,449,408
3Apr 28, 2025 21:124,45834,763,04012,227,0002,037,0002,445,312
4Apr 28, 2025 21:124,45933,092,12913,250,0001,019,0002,535,424
5Apr 28, 2025 21:124,46236,923,62414,277,00002,445,312
6Apr 28, 2025 21:124,46829,987,90913,275,0001,021,0002,539,520
7Apr 28, 2025 21:124,47927,922,42913,309,0001,023,0002,539,520
8Apr 28, 2025 21:124,48137,355,84812,291,0002,048,0002,277,376
9Apr 28, 2025 21:124,48537,172,63013,326,0001,025,0002,277,376