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 6, 2024 15:18BenBenScore: 4,964Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2024 15:184,89032,646,79215,647,00002,494,464
2Aug 6, 2024 15:184,89847,115,06015,675,00002,494,464
3Aug 6, 2024 15:184,91433,767,88915,726,00002,277,376
4Aug 6, 2024 15:184,91540,743,87015,728,00002,277,376
5Aug 6, 2024 15:184,95738,880,56014,872,000991,0002,277,376
6Aug 6, 2024 15:184,96131,221,89514,882,000992,0002,490,368
7Aug 6, 2024 15:184,96431,173,95214,894,000992,0002,482,176
8Aug 6, 2024 15:184,96443,156,56814,894,000992,0002,277,376
9Aug 6, 2024 15:184,97335,458,18314,918,000994,0002,277,376
10Aug 6, 2024 15:185,19387,813,87316,618,77702,248,704
11Aug 6, 2024 15:185,21394,752,31116,682,80702,260,992
12Aug 6, 2024 15:185,31647,284,16617,010,42302,260,992