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 listFeb 22, 2024 12:30Huy Duc LeHuy Duc LeScore: 5,522Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 12:305,47338,518,61016,482,0001,030,0002,269,184
2Feb 22, 2024 12:305,47349,760,17717,512,00002,273,280
3Feb 22, 2024 12:305,47438,630,16516,487,0001,030,0002,269,184
4Feb 22, 2024 12:305,47539,273,53616,490,0001,030,0002,277,376
5Feb 22, 2024 12:305,50139,310,20516,569,0001,035,0002,273,280
6Feb 22, 2024 12:305,51548,706,81116,609,0001,038,0002,269,184
7Feb 22, 2024 12:305,52244,120,78817,671,00002,293,760
8Feb 22, 2024 12:305,52838,599,80416,648,0001,040,0002,531,328
9Feb 22, 2024 12:305,53150,062,77716,659,0001,041,0002,293,760
10Feb 22, 2024 12:305,71158,827,80418,275,59402,187,264
11Feb 22, 2024 12:305,71786,905,60818,293,62002,179,072
12Feb 22, 2024 12:305,73179,367,13318,339,66902,306,048