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 listMay 13, 2021 22:22Yuriy LyfenkoYuriy LyfenkoScore: 5,588Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 22:225,58434,722,87615,883,0001,985,0002,523,136
2May 13, 2021 22:225,58448,138,06816,878,000992,0002,396,160
3May 13, 2021 22:225,58538,101,86015,886,0001,985,0002,400,256
4May 13, 2021 22:225,58733,709,34814,898,0002,979,0002,375,680
5May 13, 2021 22:225,58749,833,52217,877,00002,400,256
6May 13, 2021 22:225,58837,115,08816,887,000993,0002,387,968
7May 13, 2021 22:225,58839,419,79715,894,0001,986,0002,523,136
8May 13, 2021 22:225,58944,826,39116,893,000993,0002,260,992
9May 13, 2021 22:225,59241,230,57514,911,0002,982,0002,396,160
10May 13, 2021 22:225,73078,525,30718,335,92402,273,280
11May 13, 2021 22:225,79363,241,43618,536,62702,273,280
12May 13, 2021 22:225,81186,223,04318,594,53902,273,280