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 29, 2025 14:44sheryllynn24sheryllynn24Score: 2,973,553Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2025 14:442,925,7459,395,140,5539,330,400,00031,984,0002,277,376
2Sep 29, 2025 14:442,971,2139,541,395,0719,477,898,00029,983,0002,281,472
3Sep 29, 2025 14:442,971,2459,537,843,5309,474,003,00033,982,0002,281,472
4Sep 29, 2025 14:442,973,0859,549,080,7379,475,894,00037,979,0002,281,472
5Sep 29, 2025 14:442,973,5539,546,577,9049,488,386,00026,984,0002,281,472
6Sep 29, 2025 14:442,973,5679,547,204,1539,477,434,00037,981,0002,281,472
7Sep 29, 2025 14:442,977,8989,563,171,9139,493,292,00035,982,0002,277,376
8Sep 29, 2025 14:443,057,2459,816,287,6999,751,201,00031,984,0002,281,472
9Sep 29, 2025 14:443,062,4649,829,513,4909,768,903,00030,983,0002,277,376