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 4, 2025 19:28Adam FolwarcznyAdam FolwarcznyScore: 4,213Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 4, 2025 19:284,20726,701,83712,428,0001,035,0002,531,328
2May 4, 2025 19:284,20835,934,31312,429,0001,035,0002,449,408
3May 4, 2025 19:284,20928,360,79412,434,0001,036,0002,531,328
4May 4, 2025 19:284,21239,491,57812,441,0001,036,0002,539,520
5May 4, 2025 19:284,21334,590,44812,445,0001,037,0002,539,520
6May 4, 2025 19:284,21534,577,19112,452,0001,037,0002,445,312
7May 4, 2025 19:284,21734,323,17412,457,0001,038,0002,277,376
8May 4, 2025 19:284,21933,110,67612,462,0001,038,0002,441,216
9May 4, 2025 19:284,22030,093,71612,467,0001,038,0002,539,520