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:36lukostlukostScore: 4,461Success
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:364,42236,762,11112,130,0002,021,0002,539,520
2Apr 28, 2025 21:364,45735,908,34113,243,0001,018,0002,449,408
3Apr 28, 2025 21:364,45939,279,05213,251,0001,019,0002,449,408
4Apr 28, 2025 21:364,46035,781,44013,253,0001,019,0002,539,520
5Apr 28, 2025 21:364,46132,758,14613,257,0001,019,0002,453,504
6Apr 28, 2025 21:364,47026,283,96913,282,0001,021,0002,535,424
7Apr 28, 2025 21:364,47328,971,62113,290,0001,022,0002,539,520
8Apr 28, 2025 21:364,47435,146,07313,296,0001,022,0002,449,408
9Apr 28, 2025 21:364,47939,180,68613,309,0001,023,0002,277,376