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 22, 2024 11:57matsuoka-601matsuoka-601Score: 5,465Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 11:575,41247,347,56815,280,0002,037,0002,285,568
2Jan 22, 2024 11:575,42339,448,52516,332,0001,020,0002,531,328
3Jan 22, 2024 11:575,43344,762,01315,342,0002,045,0002,523,136
4Jan 22, 2024 11:575,44844,721,21315,382,0002,051,0002,285,568
5Jan 22, 2024 11:575,45839,316,31816,440,0001,027,0002,273,280
6Jan 22, 2024 11:575,45942,471,98216,442,0001,027,0002,269,184
7Jan 22, 2024 11:575,46544,222,69715,431,0002,057,0002,285,568
8Jan 22, 2024 11:575,49934,968,35216,562,0001,035,0002,285,568
9Jan 22, 2024 11:575,51336,640,90616,606,0001,037,0002,285,568
10Jan 22, 2024 11:575,63297,487,76518,021,79102,293,760
11Jan 22, 2024 11:575,65285,739,91718,087,19102,179,072
12Jan 22, 2024 11:575,67188,985,50518,148,34302,301,952