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 listSep 28, 2026 20:57NicoNicoScore: 42,566Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 28, 2026 20:5842,377146,092,53428,508,000107,100,0002,117,632
2Sep 28, 2026 20:5842,566146,549,06928,485,000107,729,0002,117,632
3Sep 28, 2026 20:5844,127151,685,72928,544,000112,664,0002,117,632