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 22:11lukostlukostScore: 4,463Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 3, 2025 17:484,44035,064,12112,179,0002,029,0002,539,520
2May 3, 2025 17:484,44934,360,92612,204,0002,034,0002,449,408
3Apr 28, 2025 22:114,45829,762,17413,246,0001,018,0002,535,424
4Apr 28, 2025 22:114,46333,242,56613,260,0001,020,0002,539,520
5May 3, 2025 17:484,47640,924,48913,300,0001,023,0002,539,520
6Apr 28, 2025 22:114,49524,621,37413,356,0001,027,0002,445,312