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 listOct 29, 2026 20:07C21C21Score: 4,664Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2026 20:084,61625,665,57213,715,0001,058,0002,113,536
2Oct 29, 2026 20:084,64426,329,35813,730,0001,131,0002,113,536
3Oct 29, 2026 20:084,65625,903,46913,786,0001,116,0002,113,536
4Oct 29, 2026 20:084,66226,337,48113,799,0001,122,0002,113,536
5Oct 29, 2026 20:084,66426,428,19613,796,0001,130,0002,113,536
6Oct 29, 2026 20:084,66525,875,27813,813,0001,118,0002,113,536
7Oct 29, 2026 20:084,67325,923,16313,836,0001,119,0002,113,536
8Oct 29, 2026 20:084,68126,467,67413,805,0001,175,0002,113,536
9Oct 29, 2026 20:084,68627,140,43013,921,0001,076,0002,113,536