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 listJul 3, 2023 14:41Anılcan GülkayaAnılcan GülkayaScore: 5,588Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2023 14:415,44737,338,70916,404,0001,025,000167,936
2Jul 3, 2023 14:415,50733,587,82316,585,0001,036,0002,392,064
3Jul 3, 2023 14:415,53044,075,53717,696,00002,265,088
4Jul 3, 2023 14:415,53344,024,33417,707,00002,265,088
5Jul 3, 2023 14:415,55051,955,76017,759,00002,383,872
6Jul 3, 2023 14:415,58045,770,61815,872,0001,984,0002,392,064
7Jul 3, 2023 14:415,58845,875,75016,887,000993,0002,400,256
8Jul 3, 2023 14:415,58836,106,31716,890,000993,0002,473,984
9Jul 3, 2023 14:415,59241,596,61815,906,0001,988,0002,527,232
10Jul 3, 2023 14:415,96785,582,36919,094,96802,277,376
11Jul 3, 2023 14:415,97186,731,75019,107,92902,281,472
12Jul 3, 2023 14:416,02975,573,88819,291,68802,277,376