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 12:29matsuoka-601matsuoka-601Score: 5,587Success
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 12:295,53744,563,53316,675,0001,042,0002,293,760
2Jan 22, 2024 12:295,57934,790,57415,870,0001,983,0002,293,760
3Jan 22, 2024 12:295,58145,766,08516,866,000992,0002,273,280
4Jan 22, 2024 12:295,58235,245,24715,877,0001,984,0002,293,760
5Jan 22, 2024 12:295,58344,856,15116,872,000992,0002,273,280
6Jan 22, 2024 12:295,58433,321,52715,884,0001,985,0002,293,760
7Jan 22, 2024 12:295,58742,575,28815,892,0001,986,0002,265,088
8Jan 22, 2024 12:295,58852,079,26716,889,000993,0002,293,760
9Jan 22, 2024 12:295,58844,651,44416,889,000993,0002,293,760
10Jan 22, 2024 12:295,71394,642,28418,283,10302,174,976
11Jan 22, 2024 12:295,71785,020,84418,293,67302,256,896
12Jan 22, 2024 12:295,74690,122,17918,387,66302,183,168