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, 2026 10:15Damian HösterDamian HösterScore: 5,055Success
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, 2026 10:155,02825,001,94015,078,0001,012,0002,117,632
2Sep 29, 2026 10:155,04325,057,27515,126,0001,012,0002,117,632
3Sep 29, 2026 10:155,04824,989,12015,130,0001,026,0002,117,632
4Sep 29, 2026 10:155,05024,991,68915,137,0001,023,0002,117,632
5Sep 29, 2026 10:155,05526,565,02915,150,0001,029,0002,117,632
6Sep 29, 2026 10:155,05824,974,98315,162,0001,026,0002,117,632
7Sep 29, 2026 10:155,06925,104,66215,218,0001,004,0002,117,632
8Sep 29, 2026 10:155,07525,754,45515,222,0001,020,0002,117,632
9Sep 29, 2026 10:155,08025,176,13415,247,0001,011,0002,117,632