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 listAug 4, 2024 01:57jeffplaisancejeffplaisanceScore: 5,200Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 01:575,15937,593,51716,510,00002,277,376
2Aug 4, 2024 01:575,17139,093,19416,548,00002,277,376
3Aug 4, 2024 01:575,17832,054,63016,569,00002,277,376
4Aug 4, 2024 01:575,18333,238,12416,586,00002,277,376
5Aug 4, 2024 01:575,19544,905,92916,624,00002,277,376
6Aug 4, 2024 01:575,19748,941,09616,631,00002,498,560
7Aug 4, 2024 01:575,20046,449,03116,639,00002,498,560
8Aug 4, 2024 01:575,22541,779,34915,675,0001,045,0002,277,376
9Aug 4, 2024 01:575,22640,697,14516,724,00002,277,376
10Aug 4, 2024 01:575,43075,547,49117,374,59802,260,992
11Aug 4, 2024 01:575,45189,433,99417,442,27302,248,704
12Aug 4, 2024 01:575,47586,553,33717,519,72702,244,608