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 26, 2024 13:47AnSaAnSaScore: 5,228Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 26, 2024 13:475,19845,947,10815,595,0001,039,0002,412,544
2Jan 26, 2024 13:475,20838,302,26816,666,00002,285,568
3Jan 26, 2024 13:475,21442,414,87116,686,00002,404,352
4Jan 26, 2024 13:475,21638,172,25716,690,00002,285,568
5Jan 26, 2024 13:475,21733,066,50316,693,00002,285,568
6Jan 26, 2024 13:475,22134,604,85115,663,0001,044,0002,285,568
7Jan 26, 2024 13:475,22849,252,04716,728,00002,404,352
8Jan 26, 2024 13:475,22834,042,68615,685,0001,045,0002,408,448
9Jan 26, 2024 13:475,23346,630,13416,747,00002,404,352
10Jan 26, 2024 13:475,428102,473,84617,369,51802,301,952
11Jan 26, 2024 13:475,44695,009,52217,426,41102,301,952
12Jan 26, 2024 13:475,47662,798,77417,522,18902,310,144