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 11:44Dmitry YudakovDmitry YudakovScore: 7,771Success
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 11:447,72849,233,23823,698,0001,030,0002,514,944
2Apr 27, 2025 11:447,76753,837,80823,861,000994,0002,510,848
3Apr 27, 2025 11:447,77048,151,08723,871,000994,0002,539,520
4Apr 27, 2025 11:447,77048,780,16823,871,000994,0002,514,944
5Apr 27, 2025 11:447,77153,544,61523,872,000994,0002,289,664
6Apr 27, 2025 11:447,77448,887,94323,881,000995,0002,539,520
7Apr 27, 2025 11:447,78049,000,48822,905,0001,991,0002,547,712
8Apr 27, 2025 11:447,78255,604,94924,901,00002,510,848
9Apr 27, 2025 11:447,78952,427,37921,935,0002,991,0002,289,664