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 1, 2023 21:36Hal FHal FScore: 5,183Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 21:365,11345,054,75414,316,0002,045,0002,289,664
2Jan 1, 2023 21:365,13538,522,22415,406,0001,027,0002,289,664
3Jan 1, 2023 21:365,13737,447,97716,438,00002,285,568
4Jan 1, 2023 21:365,14141,518,20016,452,00002,289,664
5Jan 1, 2023 21:365,15640,711,17815,467,0001,031,0002,531,328
6Jan 1, 2023 21:365,16032,091,83715,480,0001,032,0002,519,040
7Jan 1, 2023 21:365,18334,043,31816,586,00002,273,280
8Jan 1, 2023 21:365,58449,397,11115,883,0001,985,0002,289,664
9Jan 1, 2023 21:365,69540,539,45216,200,0002,025,0002,277,376
10Jan 1, 2023 21:365,99081,977,82319,167,66302,293,760
11Jan 1, 2023 21:366,04160,339,75319,329,80002,301,952
12Jan 1, 2023 21:366,84268,971,32121,894,78402,289,664