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 3, 2024 17:56jeffplaisancejeffplaisanceScore: 4,403Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 17:564,36933,527,27312,984,000998,0002,498,560
2Aug 3, 2024 17:564,37631,094,92113,003,0001,000,0002,273,280
3Aug 3, 2024 17:564,38042,677,42013,016,0001,001,0002,277,376
4Aug 3, 2024 17:564,39237,054,91413,050,0001,003,0002,494,464
5Aug 3, 2024 17:564,39933,852,46913,073,0001,005,0002,498,560
6Aug 3, 2024 17:564,40131,198,99813,078,0001,006,0002,498,560
7Aug 3, 2024 17:564,40330,142,87113,083,0001,006,0002,273,280
8Aug 3, 2024 17:564,41336,291,96312,106,0002,017,0002,277,376
9Aug 3, 2024 17:564,41435,299,26614,126,00002,277,376
10Aug 3, 2024 17:564,67969,369,20414,971,44202,375,680
11Aug 3, 2024 17:564,702103,250,39615,045,75202,248,704
12Aug 3, 2024 17:564,70476,171,81115,053,25302,248,704