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 16, 2024 14:41Robert BlackwellRobert BlackwellScore: 5,483Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2024 14:415,44740,051,56516,406,0001,025,0002,273,280
2Apr 16, 2024 14:415,45240,744,18816,420,0001,026,0002,269,184
3Apr 16, 2024 14:415,45538,315,39216,430,0001,026,0002,289,664
4Apr 16, 2024 14:415,45638,894,81017,460,00002,277,376
5Apr 16, 2024 14:415,45838,080,22216,439,0001,027,0002,285,568
6Apr 16, 2024 14:415,48138,934,57317,539,00002,289,664
7Apr 16, 2024 14:415,48340,355,67016,513,0001,032,0002,289,664
8Apr 16, 2024 14:415,48939,815,02617,564,00002,289,664
9Apr 16, 2024 14:415,51634,984,16816,612,0001,038,0002,289,664
10Apr 16, 2024 14:415,66084,782,14218,113,43002,179,072
11Apr 16, 2024 14:415,67578,445,40218,160,32102,301,952
12Apr 16, 2024 14:415,71492,777,88318,283,71902,183,168