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 29, 2025 06:17lukostlukostScore: 4,455Success
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 22:054,44035,676,29512,178,0002,029,0002,449,408
2Apr 28, 2025 22:054,44335,765,51612,187,0002,031,0002,539,520
3Apr 29, 2025 06:174,45131,295,15513,226,0001,017,0002,535,424
4Apr 28, 2025 22:054,45537,134,82713,237,0001,018,0002,539,520
5Apr 29, 2025 06:174,46429,255,40813,264,0001,020,0002,445,312
6Apr 29, 2025 06:174,46737,002,79513,273,0001,021,0002,453,504