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 27, 2025 03:13zielajzielajScore: 370,332Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2025 03:12369,1351,206,895,7561,180,235,000997,0002,527,232
2Apr 27, 2025 03:13369,3591,204,596,0761,180,953,000997,0002,490,368
3Apr 27, 2025 03:12370,3041,212,037,5981,184,973,00002,265,088
4Apr 27, 2025 03:13370,3321,207,694,7001,184,066,000997,0002,265,088
5Apr 27, 2025 03:12370,6451,212,883,8011,186,064,00002,494,464
6Apr 27, 2025 03:13370,8461,215,527,8501,185,710,000997,0002,265,088