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:24HattonuriHattonuriScore: 4,495Success
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:244,46429,591,01113,264,0001,020,0002,449,408
2Dec 29, 2025 02:244,46932,299,71013,279,0001,021,0002,535,424
3Dec 29, 2025 02:234,47930,048,18513,310,0001,023,0002,535,424
4Dec 29, 2025 02:234,48230,187,09213,317,0001,024,0002,535,424
5Dec 29, 2025 02:244,49235,319,80013,349,0001,026,0002,535,424
6Dec 29, 2025 02:244,49329,725,18813,352,0001,027,0002,535,424
7Dec 29, 2025 02:244,49528,011,71713,358,0001,027,0002,437,120
8Dec 29, 2025 02:244,49830,938,96413,366,0001,028,0002,449,408
9Dec 29, 2025 02:244,50433,742,97013,384,0001,029,0002,445,312
10Dec 29, 2025 02:234,50935,536,66714,428,00002,445,312
11Dec 29, 2025 02:244,51333,349,74213,412,0001,031,0002,273,280
12Dec 29, 2025 02:244,53630,531,65313,480,0001,036,0002,535,424