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 23, 2024 00:36vahookvahookScore: 4,263Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 23, 2024 00:374,23928,138,91713,565,00002,277,376
2Apr 21, 2025 17:064,23934,961,40313,564,00002,494,464
3Sep 23, 2024 00:364,24229,259,50413,575,00002,498,560
4Apr 21, 2025 17:054,25533,234,79713,617,00002,502,656
5Apr 21, 2025 17:054,25931,550,11812,580,0001,048,0002,494,464
6Apr 21, 2025 17:064,26130,423,58413,634,00002,277,376
7Sep 23, 2024 00:374,26332,464,56213,641,00002,498,560
8Sep 23, 2024 00:374,26329,093,14013,643,00002,277,376
9Apr 21, 2025 17:064,26434,460,46313,646,00002,277,376
10Apr 21, 2025 17:054,28438,356,91812,654,0001,054,0002,273,280
11Sep 23, 2024 00:364,33730,028,74712,886,000991,0002,277,376
12Sep 23, 2024 00:364,33739,517,12211,897,0001,982,0002,494,464