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 listApr 22, 2024 03:21Yuriy LyfenkoYuriy LyfenkoScore: 7,087Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2024 03:215,87893,907,50418,810,09402,273,280
2Apr 22, 2024 03:215,915100,146,72318,927,48002,289,664
3Apr 22, 2024 03:215,96087,829,85119,070,79602,277,376
4Apr 22, 2024 03:216,89050,196,48120,043,0002,004,0002,297,856
5Apr 22, 2024 03:216,92750,884,11021,158,0001,007,0002,539,520
6Apr 22, 2024 03:217,07552,213,61322,641,00002,297,856
7Apr 22, 2024 03:217,08748,041,38121,647,0001,030,0002,289,664
8Apr 22, 2024 03:217,08952,878,68320,624,0002,062,0002,560,000
9Apr 22, 2024 03:217,14850,756,77819,890,0002,983,0002,473,984
10Apr 22, 2024 03:217,15052,992,78821,887,000994,0002,560,000
11Apr 22, 2024 03:217,17855,596,54920,973,0001,997,0002,539,520
12Apr 22, 2024 03:217,22847,298,76121,117,0002,011,0002,543,616