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 29, 2025 02:13HattonuriHattonuriScore: 4,486Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 02:134,46843,637,56813,275,0001,021,0002,449,408
2Dec 29, 2025 02:134,46829,107,93713,276,0001,021,0002,535,424
3Dec 29, 2025 02:134,46929,788,76913,279,0001,021,0002,535,424
4Dec 29, 2025 02:134,46928,003,97213,279,0001,021,0002,273,280
5Dec 29, 2025 02:134,47031,372,45613,282,0001,021,0002,535,424
6Dec 29, 2025 02:134,48430,256,26613,324,0001,024,0002,269,184
7Dec 29, 2025 02:134,48633,274,50213,330,0001,025,0002,449,408
8Dec 29, 2025 02:134,49045,240,40213,342,0001,026,0002,535,424
9Dec 29, 2025 02:134,49826,990,64013,365,0001,028,0002,535,424
10Dec 29, 2025 02:134,49936,134,85613,368,0001,028,0002,273,280
11Dec 29, 2025 02:134,50441,060,43213,384,0001,029,0002,535,424
12Dec 29, 2025 02:134,61938,172,46813,727,0001,055,0002,445,312