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 listMay 1, 2025 19:49Adam FolwarcznyAdam FolwarcznyScore: 4,452Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 1, 2025 19:424,43229,988,55112,157,0002,026,0002,437,120
2May 1, 2025 19:424,44826,180,13512,199,0002,033,0002,269,184
3May 1, 2025 19:424,44929,674,53912,203,0002,033,0002,449,408
4May 1, 2025 19:424,45233,931,62012,212,0002,035,0002,441,216
5May 1, 2025 19:494,45236,509,68912,210,0002,035,0002,531,328
6May 1, 2025 19:424,45730,884,58613,244,0001,018,0002,531,328
7May 1, 2025 19:494,46341,569,66813,263,0001,020,0002,449,408
8May 1, 2025 19:424,46427,597,23113,265,0001,020,0002,433,024
9May 1, 2025 19:494,47930,291,87713,311,0001,023,0002,527,232