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 listJun 15, 2024 17:02джулисджулисScore: 5,270Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 17:025,18333,595,26915,550,0001,036,0002,293,760
2Jun 15, 2024 17:025,18744,339,23115,561,0001,037,0002,293,760
3Jun 15, 2024 17:025,19638,631,32616,628,00002,371,584
4Jun 15, 2024 17:025,20133,418,99016,642,00002,371,584
5Jun 15, 2024 17:025,20636,270,27416,660,00002,363,392
6Jun 15, 2024 17:025,20643,374,15915,680,000980,0002,387,968
7Jun 15, 2024 17:025,27047,439,77915,872,000992,0002,375,680
8Jun 15, 2024 17:025,27348,483,74114,890,0001,985,0002,371,584
9Jun 15, 2024 17:025,28451,074,29214,920,0001,989,0002,363,392
10Jun 15, 2024 17:025,42592,993,10117,361,32102,371,584
11Jun 15, 2024 17:025,442107,489,36017,415,55802,240,512
12Jun 15, 2024 17:025,475101,912,29917,518,54202,240,512