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 17, 2024 12:01Joad NacerJoad NacerScore: 5,505Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 12:015,44938,038,11816,413,0001,025,0002,289,664
2Apr 17, 2024 12:015,46839,810,01017,496,00002,289,664
3Apr 17, 2024 12:015,47844,513,82916,499,0001,031,0002,285,568
4Apr 17, 2024 12:015,48135,794,26716,509,0001,031,0002,289,664
5Apr 17, 2024 12:015,48741,703,58616,527,0001,032,0002,383,872
6Apr 17, 2024 12:015,50444,732,29216,576,0001,036,0002,289,664
7Apr 17, 2024 12:015,50539,858,34016,580,0001,036,0002,289,664
8Apr 17, 2024 12:015,53646,305,43715,748,0001,968,0002,265,088
9Apr 17, 2024 12:015,57946,128,39615,869,0001,983,0002,289,664
10Apr 17, 2024 12:015,72594,528,40618,319,36002,297,856
11Apr 17, 2024 12:015,72784,411,27318,327,51202,174,976
12Apr 17, 2024 12:015,77363,607,35918,473,18402,179,072