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 listDec 16, 2025 11:57Joad NacerJoad NacerScore: 4,376Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 16, 2025 11:574,33628,528,77111,892,0001,982,0002,424,832
2Dec 16, 2025 11:574,34027,206,33313,887,00002,433,024
3Dec 16, 2025 11:574,35329,784,86812,935,000995,0002,531,328
4Dec 16, 2025 11:574,36240,891,87211,965,0001,994,0002,510,848
5Dec 16, 2025 11:574,36732,632,60312,975,000998,0002,531,328
6Dec 16, 2025 11:574,37330,869,36512,996,000999,0002,269,184
7Dec 16, 2025 11:574,37635,814,75712,004,0002,000,0002,531,328
8Dec 16, 2025 11:574,37833,601,93212,009,0002,001,0002,433,024
9Dec 16, 2025 11:574,38829,978,93313,038,0001,002,0002,506,752
10Dec 16, 2025 11:574,45838,890,59912,227,0002,037,0002,433,024
11Dec 16, 2025 11:574,51740,290,90314,455,00002,428,928
12Dec 16, 2025 11:574,52928,102,44213,457,0001,035,0002,482,176