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 listJan 19, 2024 18:30AnSaAnSaScore: 5,798Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 18:305,75448,785,20216,367,0002,045,0002,375,680
2Jan 19, 2024 18:305,76447,472,87416,395,0002,049,0002,355,200
3Jan 19, 2024 18:305,76434,233,16516,397,0002,049,0002,383,872
4Jan 19, 2024 18:305,76749,292,75417,429,0001,025,0002,461,696
5Jan 19, 2024 18:305,76947,734,91516,410,0002,051,0002,461,696
6Jan 19, 2024 18:305,77643,254,23515,404,0003,080,0002,355,200
7Jan 19, 2024 18:305,79834,964,12817,524,0001,030,0002,383,872
8Jan 19, 2024 18:305,79947,782,12116,496,0002,062,0002,461,696
9Jan 19, 2024 18:305,83447,004,46216,594,0002,074,0002,367,488
10Jan 19, 2024 18:305,96086,767,18819,073,45202,289,664
11Jan 19, 2024 18:305,97199,297,70819,107,50902,297,856
12Jan 19, 2024 18:305,97484,515,48519,118,21402,285,568