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 21, 2025 17:16ndrenndrenScore: 23,210Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2025 17:1623,08499,547,20951,909,00021,961,0002,486,272
2Dec 21, 2025 17:1623,13797,495,25148,025,00026,013,0002,334,720
3Dec 21, 2025 17:1623,14699,668,17037,033,00037,033,0002,289,664
4Dec 21, 2025 17:1623,20598,103,11735,121,00039,135,0002,289,664
5Dec 21, 2025 17:1623,21098,267,24545,166,00029,107,0002,473,984
6Dec 21, 2025 17:1623,26796,685,58440,245,00034,208,0002,486,272
7Dec 21, 2025 17:1623,333102,029,73047,424,00027,243,0002,482,176
8Dec 21, 2025 17:1623,392103,949,19151,900,00022,955,0002,281,472
9Dec 21, 2025 17:1623,51799,262,81638,128,00037,125,0002,473,984